Package com.atlassian.oai.validator
Class SwaggerRequestResponseValidator
java.lang.Object
com.atlassian.oai.validator.SwaggerRequestResponseValidator
Deprecated.
Validates a HTTP request/response pair with an OpenAPI / Swagger specification.
Validation errors are provided in a @ValidationReport that can be used to inspect the failures.
New instances should be created via the OpenApiInteractionValidator.createFor(String) method.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.validateRequest(Request request) Deprecated.validateResponse(String path, Request.Method method, Response response) Deprecated.
-
Constructor Details
-
SwaggerRequestResponseValidator
public SwaggerRequestResponseValidator()Deprecated.
-
-
Method Details
-
createFor
Deprecated. -
validate
Deprecated. -
validateRequest
Deprecated. -
validateResponse
@Nonnull public ValidationReport validateResponse(@Nonnull String path, @Nonnull Request.Method method, @Nonnull Response response) Deprecated. -
getValidator
Deprecated.
-
OpenApiInteractionValidator. This class will be removed in a future release.