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
Describe the bug using oneOf with const values, 0 is rendering as "integer", while other const values are rendering as documented
Expected behavior const: 0 should render as 0 in the UI
const: 0
0
responses: "200": description: OK content: application/json: schema: type: object properties: data: type: object properties: response_code: type: integer description: A numeric response code oneOf: - const: 0 description: > Description for const 0 - const: 1 description: > Description for const 1 - const: 2 description: > Description for const 2
Screenshots
Additional context None
The text was updated successfully, but these errors were encountered:
Thanks for spotting this and letting us know
Sorry, something went wrong.
AlexVarchuk
Successfully merging a pull request may close this issue.
Describe the bug
using oneOf with const values, 0 is rendering as "integer", while other const values are rendering as documented
Expected behavior
const: 0
should render as0
in the UIScreenshots
Additional context
None
The text was updated successfully, but these errors were encountered: