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
anyOf
Hello :)
It seems like
"type": ["string", "null"]
would be better off with:
{ "anyOf": [ { "type": "string" }, { "type": "null" }, ] }
As AJV docs specifies: https://ajv.js.org/strict-mode.html#strict-types
Stemming from this issue: seriousme/fastify-openapi-glue#445 (comment)
Any specific reason for this format (I never encountered it before TBH)?
Thanks for your work.
The text was updated successfully, but these errors were encountered:
@JulianCataldo Interested in opening a PR? :)
Sorry, something went wrong.
When I'll go back to the project using it, I'll try to hack the generator internals a bit, to see.
@valentinpalkovic please take a look on PR. Added this feature
Successfully merging a pull request may close this issue.
Hello :)
It seems like
would be better off with:
As AJV docs specifies: https://ajv.js.org/strict-mode.html#strict-types
Stemming from this issue:
seriousme/fastify-openapi-glue#445 (comment)
Any specific reason for this format (I never encountered it before TBH)?
Thanks for your work.
The text was updated successfully, but these errors were encountered: