- Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
APiParam annotation has a parameter allowableValue. This takes a comma separated string. But if i have a space in one of the values, it is stripping it off. Which is not good. I can pass a string with spaces from the browser url. So i should be able to pass it from swaagger UI as well.
I think the issue is with this line
allowableValueString = allowableValueString.trim().replaceAll(" ", "");
in ApiModelProperties.java file. Line 59