Przeglądaj źródła

add description to reference

Ryu Sato 6 lat temu
rodzic
commit
ce092fa5cf

+ 1 - 0
src/server/models/openapi/paginate-result.js

@@ -54,6 +54,7 @@
  *  components:
  *    schemas:
  *      V1PaginateResult:
+ *        description: Paginate result v1
  *        type: object
  *        properties:
  *          meta:

+ 1 - 0
src/server/models/openapi/v1-response.js

@@ -4,6 +4,7 @@
  *  components:
  *    schemas:
  *      V1Response:
+ *        description: Response v1
  *        type: object
  *        properties:
  *          ok:

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

@@ -19,6 +19,7 @@ const ApiResponse = require('../util/apiResponse');
  *  components:
  *    schemas:
  *      Attachment:
+ *        description: Attachment
  *        type: object
  *        properties:
  *          _id:

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

@@ -10,6 +10,7 @@
  *  components:
  *    schemas:
  *      Bookmark:
+ *        description: Bookmark
  *        type: object
  *        properties:
  *          _id:

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

@@ -10,6 +10,7 @@
  *  components:
  *    schemas:
  *      Comment:
+ *        description: Comment
  *        type: object
  *        properties:
  *          _id:

+ 2 - 0
src/server/routes/page.js

@@ -10,6 +10,7 @@
  *  components:
  *    schemas:
  *      Page:
+ *        description: Page
  *        type: object
  *        properties:
  *          _id:
@@ -86,6 +87,7 @@
  *            example: 2010-01-01T00:00:00.000Z
  *
  *      UpdatePost:
+ *        description: UpdatePost
  *        type: object
  *        properties:
  *          _id:

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

@@ -10,6 +10,7 @@
  *  components:
  *    schemas:
  *      Revision:
+ *        description: Revision
  *        type: object
  *        properties:
  *          _id: