ContributionsMost RecentMost LikesSolutionsCustom validation using JSR380 Can you help me with the syntax for customer validation in swagger? I know how to create the interface manually, but cannot find any example of how it is done in swagger editor. Thank you 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