Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.12.0, 3.13.0
-
None
-
Unknown
Description
Hi,
I marked field with @Schema annotation like below:
@Schema(example = "1234", nullable = true)
private Long id;
I got output:
"id" : { "format" : "int64", "type" : "integer", "example" : 1234 }
when my expectation is:
"id" : { "format" : "int64", "type" : "integer", "nullable" : true, "example" : 1234 }
Or maybe I'm doing something wrong .
Open-api 3.0.2.