To provide regular expression validation for your data structure, you need to provide a JSON scheme that has this validation rule. For example, for example:
### View a Questions Detail [GET] + Response 200 (application/json) + Attributes + question: `Favourite programming language?` (string) + Schema { "properties": { "question": { "type": "string", "pattern": "^Favourite.*$" } } }
kylef source share