-
-
Notifications
You must be signed in to change notification settings - Fork 527
Null vendor extensions are excluded from Json/Yaml #1525
New issue
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
Comments
This should completely be fixed at the source in the swagger-core library. Please raise an issue for it. I have only added a workaround: |
bnasslahsen
added a commit
that referenced
this issue
Feb 28, 2022
bnasslahsen
added a commit
that referenced
this issue
Feb 28, 2022
mpleine
pushed a commit
to mpleine/springdoc-openapi
that referenced
this issue
May 17, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I haven't been able to create a vendor extension with a null value, the generated yaml/json won't include any. This could be a bug, but maybe there's a workaround I haven't found yet.
Versions
Example Code
Expected Output
Actual Output
Null is an acceptable value for vendor extensions according to the openAPI spec: https://swagger.io/docs/specification/openapi-extensions/
The text was updated successfully, but these errors were encountered: