Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
remove deletion request response body for success responses
Browse files Browse the repository at this point in the history
resolved #40
  • Loading branch information
wusatosi committed Jul 31, 2019
1 parent a2636f3 commit 4fca85a
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions api.json
Original file line number Diff line number Diff line change
Expand Up @@ -783,32 +783,8 @@
"summary": "delete post",
"parameters": [],
"responses": {
"200": {
"description": "deletion success",
"content": {
"application/json": {
"schema": {
"properties": {
"success": {
"type": "boolean",
"enum": [
true
]
},
"data": {
"allOf": [
{
"$ref": "#/components/schemas/post_head"
},
{
"description": "post deleted"
}
]
}
}
}
}
}
"204": {
"description": "deletion success"
},
"400": {
"$ref": "#/components/responses/bad_request"
Expand Down

0 comments on commit 4fca85a

Please sign in to comment.