|
@@ -8,15 +8,13 @@
|
|
|
* type: object
|
|
* type: object
|
|
|
* properties:
|
|
* properties:
|
|
|
* _id:
|
|
* _id:
|
|
|
- * type: string
|
|
|
|
|
- * description: revision ID
|
|
|
|
|
- * example: 5e0734e472560e001761fa68
|
|
|
|
|
|
|
+ * $ref: '#/components/schemas/ObjectId'
|
|
|
* __v:
|
|
* __v:
|
|
|
* type: number
|
|
* type: number
|
|
|
* description: DB record version
|
|
* description: DB record version
|
|
|
* example: 0
|
|
* example: 0
|
|
|
* author:
|
|
* author:
|
|
|
- * $ref: '#/components/schemas/User/properties/_id'
|
|
|
|
|
|
|
+ * $ref: '#/components/schemas/ObjectId'
|
|
|
* body:
|
|
* body:
|
|
|
* type: string
|
|
* type: string
|
|
|
* description: content body
|
|
* description: content body
|