We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
Unable to properly define response schema's especially in the context of multiple response content-types.
Describe the solution you'd like
The response table should display a response for each content-type.
content-type
Valid OpenAPI3 specification:
"responses": { "200": { "description": "Foo", "content": { "application/json": { "schema": { "type": "object" } }, "application/pdf": { "schema": { "type": "string", "format": "binary" } } } } },
Actual output:
string
|Status|Meaning|Description|Schema| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Foo|string|
Expected output:
|Type|Status|Meaning|Description|Schema| |---|---|---|---| |application/json|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Foo|object| |application/pdf|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Foo|string(binary)|
The text was updated successfully, but these errors were encountered:
fix: Support for multiple response content-types see Mermade#436
d2066ae
No branches or pull requests
Is your feature request related to a problem? Please describe.
Unable to properly define response schema's especially in the context of multiple response content-types.
Describe the solution you'd like
The response table should display a response for each
content-type
.Valid OpenAPI3 specification:
Actual output:
string
is entirely incorrect for any of these response types. OpenAPI3 response parsing discards schema format #437Expected output:
The text was updated successfully, but these errors were encountered: