Skip to content

Conversation

@tawek
Copy link

@tawek tawek commented Sep 15, 2015

I don't know if it is valid thing to do but (ie. ECMA262 regex is little bit different than Java), but until proper conversion will be done, there is no way how to specify regex for swagger from annotations other than simply reuse @Pattern annotation.

fehguy added a commit that referenced this pull request Sep 20, 2015
Add support for javax.validation.Pattern
@fehguy fehguy merged commit 2713b6f into swagger-api:master Sep 20, 2015
@webron webron added this to the v1.5.4 milestone Sep 21, 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

Successfully merging this pull request may close these issues.

3 participants