Closed sdelamo closed 4 months ago
A java lang Number type generates a type object. I think it should be type number.
@JsonSchema(description = "A product from Acme's catalog") public record Product( @NotNull @Positive Number price) {
it generates a JSON such as:
"price": { "title": "Number", "description": "The price of the product", "type": [ "object" ], "exclusiveMinimum": 0 },
A java lang Number type generates a type object. I think it should be type number.
it generates a JSON such as: