SchemaAnnotationExample: /swagger-ui/api.json is an emtpy JSON object
s76527 opened this issue · comments
I just figured out that since 2.0.0, when I annotate my fields in data classes with @field:Schema(nullable = true)
, the api.json will be generated with only an empty JSON object {}
. Same applies to that example in SchemaAnnotationExample.kt.
Edit: correct link reference
Hi,
thank you for reporting this bug. Its now fixed with version 2.2.2.