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

Validate and/or set default values of cowboy_swagger:metadata(), according with swagger schema. #9

Closed
cabol opened this issue Jul 30, 2015 · 0 comments

Comments

@cabol
Copy link
Contributor

cabol commented Jul 30, 2015

The idea is validate and set default values in required/mandatory fields within cowboy_swagger:metadata(), according with swagger schema (http://swagger.io/specification).

For example, swagger_parameters() has 2 required fields name and in, so in case those fields aren't specified in cowboy_swagger:metadata(), default values should be set.

cabol added a commit that referenced this issue Aug 14, 2015
cabol added a commit that referenced this issue Aug 14, 2015
HernanRivasAcosta added a commit that referenced this issue Aug 14, 2015
 [#9] Validate mandatory fields in the metadata.
@cabol cabol closed this as completed Aug 18, 2015
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

1 participant