Explorar el Código

required: true の制約はあるかどうか確証がないため除外

Ryu Sato hace 6 años
padre
commit
78a54941a2

+ 0 - 3
src/server/routes/attachment.js

@@ -251,7 +251,6 @@ module.exports = function(crowi, app) {
    *        tags: [Attachments]
    *        description: Get list of attachments in page
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:
@@ -321,7 +320,6 @@ module.exports = function(crowi, app) {
    *        tags: [Attachments]
    *        description: Add attachment to the page
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:
@@ -467,7 +465,6 @@ module.exports = function(crowi, app) {
    *        tags: [Attachments]
    *        description: Remove attachment
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:

+ 0 - 4
src/server/routes/bookmark.js

@@ -47,7 +47,6 @@ module.exports = function(crowi, app) {
    *        tags: [Bookmarks]
    *        description: Get bookmark of the page with the user
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:
@@ -104,7 +103,6 @@ module.exports = function(crowi, app) {
    *        tags: [Bookmarks]
    *        description: Get bookmark list of the page with the user
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:
@@ -154,7 +152,6 @@ module.exports = function(crowi, app) {
    *        tags: [Bookmarks]
    *        description: Add bookmark of the page
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:
@@ -211,7 +208,6 @@ module.exports = function(crowi, app) {
    *        tags: [Bookmarks]
    *        description: Remove bookmark of the page
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:

+ 0 - 4
src/server/routes/comment.js

@@ -66,7 +66,6 @@
    *        tags: [Comments]
    *        description: Get comments of the page of the revision
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:
@@ -159,7 +158,6 @@
    *        tags: [Comments]
    *        description: Post comment for the page
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:
@@ -287,7 +285,6 @@
    *        tags: [Comments]
    *        description: Update comment dody
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:
@@ -378,7 +375,6 @@
    *        tags: [Comments]
    *        description: Remove specified comment
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:

+ 0 - 3
src/server/routes/revision.js

@@ -62,7 +62,6 @@ module.exports = function(crowi, app) {
    *        tags: [Revisions]
    *        description: Get revision
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:
@@ -130,7 +129,6 @@ module.exports = function(crowi, app) {
    *        tags: [Revisions]
    *        description: Get revision id list of the page
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema:
@@ -193,7 +191,6 @@ module.exports = function(crowi, app) {
    *        tags: [Revisions]
    *        description: Get revisions
    *        requestBody:
-   *          required: true
    *          content:
    *            application/json:
    *              schema: