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 }}
Repository navigation
Parser creates inconsistent ArraySchema with type != array #1039
The parser assumes any Schema object with an "items" property is an ArraySchema. In which case, the "type" property, if defined, ought to be "array". But subsequently any value for the "type" property is accepted. So it's possible to have an inconsistent ArraySchema with type=number, etc.
See OpenAPIDeserializer.getSchema()
To demonstrate, parse the following spec and inspect the result for GET /pets, parameter=tags
Activity
test issue #1039
fix for issue #1039
gracekarina commentedon Apr 14, 2019
Thanks for reporting this issue @kerrykimbrough. It's fixed now by the PR #1039. Please let us know if it keeps happening