-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Description
The dropdown is present with OpenApi 2 spec
https://petstore.swagger.io/#/user/getUserByName
But is absent with OpenApi 3 spec
https://petstore3.swagger.io/#/user/getUserByName
OpeanApi 2 had "produces":
"/user/{username}": {
"get": {
"tags": [
"user"
],
"produces": [
"application/json",
"application/xml"
],
Open Api 3 has "response" combination
"/user/{username}": {
"get": {
"tags": [
"user"
],
"responses": {
"200": {
"description": "successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/User"
Metadata
Metadata
Assignees
Labels
No labels