Forum Discussion

fsimon's avatar
fsimon
New Contributor
5 years ago

pattern regex

pattern: "[0-9]{5,10}, message = transaction_type: must be number only from 5 to 10 digits"

 

Can you help me with the above syntax used in Swagger Editor?  It this the correct syntax.  It does not work.  I would like to have the message if error?  Thank you

No RepliesBe the first to reply