{
"openapi": "3.0.3",
"paths": {
"/test": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "string",
"enum": [
"enum1",
"enum2",
"enum3"
]
}
}
}
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"prop1": {
"type": "number"
},
"prop2": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/test2": {
"post": {
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"prop1": {
"type": "number"
}
}
}
}
}
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"prop1": {
"type": "number"
},
"prop2": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}