You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
SarveshSharma06
changed the title
AllowableValues for @ApiParam are not honored when request parameter is Collection Array
AllowableValues for @ApiParam is not honored by Swagger when request parameter is Collection Array
May 28, 2020
Hi,
It might not be a super critical buggy behavior, but would like to know if it is an actual bug and if there's a workaround on this?
Some insights would be really appreciated.
I am working with springfox version 2.9.2
In my spring boot application, I have a RestController with request parameter like:
I have an Enum class NumberEnum with values {one, two, three, four}
On swagger am expecting to see: "Available values: one, two, three" Instead I see all the 4 enum values.
Here's how my swagger json looks like:
Am I doing something wrong here. Please advice.
The text was updated successfully, but these errors were encountered: