Przeglądaj źródła

fix openapi spec by jsdoc

Yuki Takei 9 miesięcy temu
rodzic
commit
c1a0cd9e34
1 zmienionych plików z 2 dodań i 1 usunięć
  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: