You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This should completely be fixed at the source in the swagger-core library. Please raise an issue for it.
The OpenApiMixin should include NULL Values: @JsonInclude(value = Include.ALWAYS)
I have only added a workaround:
Use springdoc.writer-with-order-by-keys=true for the next release.
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: