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
Seems like schema with oneOf is not properly handled. I have the swagger.json which looks something like this:
"/v1/something": { "post": { "tags": ["Something"], "summary": "Create something", "description": "This some description", "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ { "$ref": "#/components/schemas/TypeA" }, { "$ref": "#/components/schemas/TypeB" } ] } } }, "required": true }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TypeC" } } } } }, "security": [ { "Bearer": ["some.scope"] } ] } },
but it results in an empty body:
The text was updated successfully, but these errors were encountered:
I see now this comment that seems to be related
Sorry, something went wrong.
No branches or pull requests
Seems like schema with oneOf is not properly handled. I have the swagger.json which looks something like this:
but it results in an empty body:
The text was updated successfully, but these errors were encountered: