Decorator class that when used adds request validation to the dispatch. Request validation compares an open-api specification with the incoming request and tries to verify that the incoming request conforms to the schema. If it does not conform to the schema a 400 will be returned, otherwise the virt will continue with its regular dispatch.
Constructor and description |
---|
OasRequestValidationDispatcher
(HttpMockDispatcher restMockDispatcher, WsdlMockRunContext mockRunContext, OpenAPI openApi) |
Type Params | Return Type | Name and description |
---|---|---|
|
MockResult |
dispatchCustomRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.util.concurrent.Callable<MockResult> mockResultGetter) |
|
MockResult<MockRequest, MockResponse> |
dispatchRequest(MockRequest request, MockResponse response) |
|
MockResult |
dispatchRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) |
ReadyAPI functional (soapui) SDK 3.20.1