New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger module does not handle enums with other types than string properly #2364

Closed
omusil24 opened this Issue Nov 1, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@omusil24
Contributor

omusil24 commented Nov 1, 2017

also wrong exception message in Swagger.qm:3741
INVALID-FIELD-TYPE: Schema Object: "enum" element 1/3 in "integer" list value has type %y; expecting "string"

@omusil24 omusil24 added this to the 0.8.13.1 milestone Nov 1, 2017

davidnich added a commit that referenced this issue Nov 1, 2017

refs #2364 fixed handling of non-string enum types
refs #2365 fixed confusing error messages with invalid parameter types
refs #2366 fixed handling of messages with non-object (i.e. non-hash) bodies
added tests + relnotes

omusil24 added a commit that referenced this issue Nov 2, 2017

Merge pull request #2368 from qorelanguage/bugfix/2364_2365_2366_Swag…
…ger_fixes

refs #2364 fixed handling of non-string enum types

@omusil24 omusil24 added the fixed label Nov 2, 2017

@omusil24 omusil24 closed this Nov 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment