UNPKG

@dntlab/swagger-dean

Version:

swagger api for DeArchNet project

40 lines (38 loc) 1.08 kB
post: summary: Add like to the comment parameters: - in: path name: commentId required: true schema: type: string description: Comment ID operationId: rest.comment.likes.post security: - jwt: [] responses: 201: $ref: '../components/components.yaml#/components/responses/SimpleSuccessResponse' 404: $ref: '../components/components.yaml#/components/responses/404NotFound' default: $ref: '../components/components.yaml#/components/responses/UnexpectedError' delete: summary: Delete the like of the comment parameters: - in: path name: commentId required: true schema: type: string description: Comment ID operationId: rest.comment.likes.delete security: - jwt: [] responses: 204: $ref: '../components/components.yaml#/components/responses/SimpleSuccessResponse' 404: $ref: '../components/components.yaml#/components/responses/404NotFound' default: $ref: '../components/components.yaml#/components/responses/UnexpectedError'