cancel
Showing results for 
Search instead for 
Did you mean: 

pattern regex

New Contributor

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

New Here?
Join us and watch the welcome video:
Watch the new Interview