Skip to content

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

Merged
wing328 merged 6 commits intoswagger-api:masterfrom
wing328:model-min-max-pattern
Apr 25, 2016
Merged

[Ruby] Add more validation rules to Ruby models#2695
wing328 merged 6 commits intoswagger-api:masterfrom
wing328:model-min-max-pattern

Conversation

@wing328
Copy link
Copy Markdown
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