You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A wrapper around a [io.moia.router.RequestHandler] that transparently validates every request/response against the OpenAPI spec.
11
+
*
12
+
* This can be used in tests to make sure the actual requests and responses match the API specification.
13
+
*
14
+
* It uses [OpenApiValidator] to do the validation.
15
+
*
16
+
* @property delegate the actual [io.moia.router.RequestHandler] to forward requests to.
17
+
* @property specFile the location of the OpenAPI / Swagger specification to use in the validator, or the inline specification to use. See also [com.atlassian.oai.validator.OpenApiInteractionValidator.createFor]]
0 commit comments