-
-
Notifications
You must be signed in to change notification settings - Fork 545
Closed
Description
Any thoughts on the following one?
When I use the minLength
element with the @Schema
annotation without the maxLength
element, springdoc-openapi returns only a minLength
in the documentation.
However, when I use the @Size
annotation with only the min
element, also the maxLength
will be returned in the documentation. In my opinion the maxLength
should not appear in the documentation.
The same goes for only annotating the max
element of the @Size
annotation. In this case, only the maxLength
should be returned in the documentation.
kteneyck
Metadata
Metadata
Assignees
Labels
No labels