I have an openapi.json file which includes a multi-schema response for a request like this:
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CountResultDto"
},
"examples": {
"example-1": {
"summary": "Status 200.",
"description": "GET `/authorization/count?userIdIn=jonny1,jonny2`",
"value": {
"count": 2
}
}
}
}
},
"description": "Request successful."
},
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExceptionDto"
}
}
},
"description": "Returned if some of the query parameters are invalid, for example if a `sortOrder`\r\nparameter is supplied, but no `sortBy` is specified. See the\r\n[Introduction](https://docs.camunda.org/manual/latest/reference/rest/overview/#error-handling)\r\nfor the error response format."
}
}
I can get the first schema in the post-response to a request from the postman when I use this:
{
"openApiOperation": "*::/*",
"schemaValidation": {
"enabled": true
}
}
How can you get all of them? For example, in this scenario, get response 200 and 400 schema validation
I have an openapi.json file which includes a multi-schema response for a request like this:
I can get the first schema in the post-response to a request from the postman when I use this:
{ "openApiOperation": "*::/*", "schemaValidation": { "enabled": true } }How can you get all of them? For example, in this scenario, get response 200 and 400 schema validation