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
When swagger-parser parses the following spec, it thinks that the testParam query parameter has a collectionFormat of "multi", even though it is explicitly defined as having a collectionFormat of "csv":
ok @michaelkourlas I see what was going on. The issue was only when parameters were shared from the top-level, the code took a different path. This was fixed in ac8b4e5
My test cases here didn't hit that path, but the above commit should ensure it does the right thing.
When swagger-parser parses the following spec, it thinks that the testParam query parameter has a collectionFormat of "multi", even though it is explicitly defined as having a collectionFormat of "csv":
It correctly parses the collectionFormat if it is defined after the type, like so:
The ordering of JSON properties is irrelevant, so this is definitely a bug.
The text was updated successfully, but these errors were encountered: