YuriFedorov
4 years agoNew Contributor
Question about Swager3
if I write in the controller the maximum length of the enam , then the drop-down list disappears
@Operation(description = "..........")
public ResponseEntity<...........> nameMethod(
@Parameter(description = "someType", schema = @Schema(maxLength = 13), required = true)
@PathVariable("namePathVariable") Enum enum,
no dropdown list
and if
@Operation(description = "..........")
public ResponseEntity<...........> nameMethod(
@Parameter(description = "someType", required = true)
@PathVariable("namePathVariable") Enum enum,
there is a drop-down list
Tell me plis what is the matter and is there an option to get a drop-down list and write the limitation of maxLength on the length of the enam?
Thanks a lot!