Skip to content
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

Null description breaks swagger 2.0 #401

Closed
jonmast opened this issue Apr 25, 2016 · 1 comment
Closed

Null description breaks swagger 2.0 #401

jonmast opened this issue Apr 25, 2016 · 1 comment

Comments

@jonmast
Copy link

jonmast commented Apr 25, 2016

grape-swagger outputs null if the description is not specified. This causes swagger to throw an error.

TypeError: Swagger 2.0 does not support null types

It would be better to just remove the description field or raise an error.

@LeFnord
Copy link
Member

LeFnord commented Apr 25, 2016

this is solved here: #399
please use master of grape-swagger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants