Interface CustomResponseValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
User-defined validation for a response.
-
Method Summary
Modifier and TypeMethodDescriptionvalidate(Response response, ApiOperation apiOperation) Validates a response against a given api operation.
-
Method Details
-
validate
Validates a response against a given api operation.- Parameters:
response- The response to validateapiOperation- The operation to validate the request against- Returns:
- A validation report containing validation errors
-