Open dan-kez opened 7 years ago
Hi Dan,
Thanks for your report! I agree, that looks like a real issue. Unfortunately, this project doesn't handle OpenAPI validation. It will have to be addressed in this underlying library: https://github.com/apigee-127/sway.
Best, Scott
The sway library has a PR that will fix this issue, but it hasn't been merged yet. If you want to take advantage of it you can use npm and install it using the following command:
npm install https://github.com/apigee-127/sway.git#918b22e --save
Cheers!
Swagger YAML Def:
Example command:
curl -k https://0.0.0.0:3000/Permission?ids=123
Error:
However the following works:
curl -k https://0.0.0.0:3000/Permission?ids=1231,1231
The following behavior does not hold true when the yaml def changes to the following:
However, I receive an error when I try to put an integer
1231
into a string.I'd really love for a resolution to this.
Best, Dan