Defines the validation for the Route which could result in a BadRequest response from this route.
Defines the validation for the Route which could result in a BadRequest response from this route. By default, this is set to RequestValidation.all . It is overrideable in high performance scenarios, or where custom extraction logic is to be applied.