You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there anyway to get the response headers in the generated JSON. At this moment I have no clue how to do this.
Example:
@ApiResponse(code = 201, message = "Resource created.",
responseHeaders = {
@ResponseHeader(name = "ETag",
description = "The version id of the newly created resource",
response = String.class)})
.....
Should be available as.
"responses": {
"201": {
"description": "Resource created.",
"headers": {
"ETag": {
"type": "string",
"description": "The version id of the newly created resource."
}
.....
The text was updated successfully, but these errors were encountered:
Is there anyway to get the response headers in the generated JSON. At this moment I have no clue how to do this.
Example:
Should be available as.
The text was updated successfully, but these errors were encountered: