Closed dennisameling closed 1 year ago
To be fair, I don't remember why we have these properties. I think it might be a good idea to filter them from scheme.
It looks like those summary
& termsOfService
are a part of 3.1.0:
But terms_of_service
should be termsOfService
. It seems like you're using different configuration of ObjectMapper in Javalin, because by default it's in a proper form:
Ah sorry, my bad indeed! Thanks a lot for looking into it 😊
Hi! Consider the following
OpenApiInfo
configuration:... which generates this output:
When pasting this into https://editor.swagger.io for example (or any OpenAPI spec validator), it fails on these things:
summary
andterms_of_service
aren't part of the OpenAPI 3 specinfo.contact
andinfo.license
arenull
but should either be left out completely or be objectsI'd expect the
null
values to be left out completely. Am I doing something wrong in my implementation?Thanks!