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
Currently, if I create an enumeration that's represented by a string in JSON, the generated swagger type is integer.
When I submit that property value as a string in swagger, it silently fails until I change the value to be a number, but then the JSON marshalling fails.
What would be good is to add support for a field tag so the type can be overridden. Something like:
Currently, if I create an enumeration that's represented by a string in JSON, the generated swagger type is integer.
When I submit that property value as a string in swagger, it silently fails until I change the value to be a number, but then the JSON marshalling fails.
What would be good is to add support for a field tag so the type can be overridden. Something like:
And then:
The text was updated successfully, but these errors were encountered: