Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update swagger comments to reflect the actual behavior #414

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions swagger/head-exceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"tags": ["HttpSuccess Operations"],
"responses": {
"200": {
"description": "Successfully returns the true boolean value"
"description": "Successfully returns an empty response"
},
"default": {
"description": "Unexpected error"
Expand All @@ -42,7 +42,7 @@
"tags": ["HttpSuccess Operations"],
"responses": {
"204": {
"description": "Successfully returns the true boolean value"
"description": "Successfully returns an empty response"
},
"default": {
"description": "Unexpected error"
Expand All @@ -57,7 +57,7 @@
"tags": ["HttpSuccess Operations"],
"responses": {
"204": {
"description": "Successfully returns the true boolean value"
"description": "Successfully returns an empty response"
},
"default": {
"description": "Unexpected error"
Expand Down
12 changes: 6 additions & 6 deletions swagger/head.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"tags": ["HttpSuccess Operations"],
"responses": {
"200": {
"description": "Successfully returns the true boolean value"
"description": "Successfully returns an empty response"
},
"404": {
"description": "Successfully returns the false boolean value"
"description": "Successfully returns an empty response"
},
"default": {
"description": "Unexpected error"
Expand All @@ -45,10 +45,10 @@
"tags": ["HttpSuccess Operations"],
"responses": {
"204": {
"description": "Successfully returns the true boolean value"
"description": "Successfully returns an empty response"
},
"404": {
"description": "Successfully returns the false boolean value"
"description": "Successfully returns an empty response"
},
"default": {
"description": "Unexpected error"
Expand All @@ -68,10 +68,10 @@
"tags": ["HttpSuccess Operations"],
"responses": {
"204": {
"description": "Successfully returns the true boolean value"
"description": "Successfully returns an empty response"
},
"404": {
"description": "Successfully returns the false boolean value"
"description": "Successfully returns an empty response"
},
"default": {
"description": "Unexpected error"
Expand Down
4 changes: 2 additions & 2 deletions swagger/header.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@
"/header/response/protectedkey": {
"post": {
"operationId": "header_responseProtectedKey",
"description": "Get a response with header value \"Content-Type\": \"text/html\"",
"description": "Get a response with header value \"Content-Type\": \"text/html; charset=utf-8\"",
"tags": ["Header Operations"],
"responses": {
"200": {
"description": "Empty Response",
"headers": {
"Content-Type": {
"description": "response with header value \"Content-Type\": \"text/html\"",
"description": "response with header value \"Content-Type\": \"text/html; charset=utf-8\"",
"type": "string"
}
}
Expand Down