Closed s76527 closed 1 year ago
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.
@field:Schema(nullable = true)
{}
Edit: correct link reference
Hi, thank you for reporting this bug. Its now fixed with version 2.2.2.
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