소스 검색

fix openapi spec by jsdoc

Yuki Takei 11 달 전
부모
커밋
c1a0cd9e34
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      apps/app/src/server/routes/page.js

+ 2 - 1
apps/app/src/server/routes/page.js

@@ -258,10 +258,11 @@ module.exports = function(crowi, app) {
    *   schemas:
    *     PageRemoveData:
    *       type: object
+   *       required:
+   *         - path
    *       properties:
    *         path:
    *           type: string
-   *           required: true
    *           description: Path of the deleted page
    *           example: "/user/example"
    *         isRecursively: