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
Oh, what a pain OpenAPI 2.0 is! That sucks. Are you able to move over to using the 3.0 specs that we generate instead? I don't know when I'm going to have time to address this issue, but I will keep it open so that when I'm finally able to work on spec issues again I can investigate a fix. But if this is holding you up, see if you can use the 3.0 spec against a 3.0 generator instead.
The current OpenAPI 2.0 spec fails validation with go-swagger (...) because there are query parameters that use a $ref as the item. That's disallowed according to https://stackoverflow.com/questions/41639571/swagger-2-use-enum-reference-in-query-parameter-of-array-type.
So instead of:
You have to write:
The text was updated successfully, but these errors were encountered: