Skip to content

[Ruby] Add more validation rules to Ruby models #2695

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

Merged
merged 6 commits into from
Apr 25, 2016

Conversation

wing328
Copy link
Contributor

@wing328 wing328 commented Apr 25, 2016

  • Added maximum, minimum, maxLength, minLength, pattern to Ruby models
  • Added validation methods to Ruby models

TODO: add test cases to Petstore to verify the rules.

@wing328 wing328 merged commit 0792ddc into swagger-api:master Apr 25, 2016
@wing328 wing328 deleted the model-min-max-pattern branch April 30, 2016 16:24
zhenjun115 pushed a commit to zhenjun115/swagger-codegen that referenced this pull request May 8, 2016
[Ruby] Add more validation rules to Ruby models
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant