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
{{ message }}
This repository has been archived by the owner on Jul 30, 2023. It is now read-only.
The output swagger json has the enum values as a list of strings. Then when you use go-swagger to generate an API client, it panics in an init() function because it's trying to deserialize an array of strings into an array of ints. Long story short, these enum values should serialize into an array of ints instead in this case.
The text was updated successfully, but these errors were encountered:
Example struct:
The output swagger json has the enum values as a list of strings. Then when you use go-swagger to generate an API client, it panics in an init() function because it's trying to deserialize an array of strings into an array of ints. Long story short, these enum values should serialize into an array of ints instead in this case.
The text was updated successfully, but these errors were encountered: