Uses of Interface
com.atlassian.oai.validator.report.ValidationReport
Packages that use ValidationReport
Package
Description
-
Uses of ValidationReport in com.atlassian.oai.validator
Methods in com.atlassian.oai.validator that return ValidationReportModifier and TypeMethodDescriptionValidate the given request/response against the API.Deprecated.OpenApiInteractionValidator.validateRequest(Request request) Validate the given request against the API.SwaggerRequestResponseValidator.validateRequest(Request request) Deprecated.OpenApiInteractionValidator.validateResponse(String path, Request.Method method, Response response) Validate the given response against the API.SwaggerRequestResponseValidator.validateResponse(String path, Request.Method method, Response response) Deprecated. -
Uses of ValidationReport in com.atlassian.oai.validator.interaction.request
Methods in com.atlassian.oai.validator.interaction.request that return ValidationReportModifier and TypeMethodDescriptionCustomRequestValidator.validate(Request request, ApiOperation apiOperation) Validates a request against a given api operation.RequestValidator.validateRequest(Request request, ApiOperation apiOperation) Validate the request against the given API operation -
Uses of ValidationReport in com.atlassian.oai.validator.interaction.response
Methods in com.atlassian.oai.validator.interaction.response that return ValidationReportModifier and TypeMethodDescriptionCustomResponseValidator.validate(Response response, ApiOperation apiOperation) Validates a response against a given api operation.ResponseValidator.validateResponse(Response response, ApiOperation apiOperation) Validate the given response against the API operation. -
Uses of ValidationReport in com.atlassian.oai.validator.report
Classes in com.atlassian.oai.validator.report that implement ValidationReportModifier and TypeClassDescriptionclassAn emptyValidationReportwhich contains noValidationReport.Message.classAValidationReportcontaining a singleValidationReport.Message.classAValidationReportserving as container for multipleValidationReports.Methods in com.atlassian.oai.validator.report that return ValidationReportModifier and TypeMethodDescriptionstatic ValidationReportValidationReport.empty()Return an empty report.static ValidationReportValidationReport.from(ValidationReport.Message... messages) Return an unmodifiable report containing all the provided messagesstatic ValidationReportValidationReport.from(Collection<ValidationReport.Message> messages) Return an unmodifiable report containing all the provided messagesdefault ValidationReportValidationReport.merge(ValidationReport other) Merges the given validation report with this one, and return a new, unmodifiable report containing the messages from both reports.static ValidationReportValidationReport.singleton(ValidationReport.Message message) Return an unmodifiable report that contains a single message.EmptyValidationReport.withAdditionalContext(ValidationReport.MessageContext context) ImmutableValidationReport.withAdditionalContext(ValidationReport.MessageContext context) MergedValidationReport.withAdditionalContext(ValidationReport.MessageContext context) ValidationReport.withAdditionalContext(ValidationReport.MessageContext context) Apply the given additional message context to each message in this validation report, returning a new unmodifiable report.Methods in com.atlassian.oai.validator.report with parameters of type ValidationReportModifier and TypeMethodDescriptionJsonValidationReportFormat.apply(ValidationReport report) SimpleValidationReportFormat.apply(ValidationReport report) ValidationReportFormat.apply(ValidationReport report) Format the given validation report as aStringsuitable for logging etc.default ValidationReportValidationReport.merge(ValidationReport other) Merges the given validation report with this one, and return a new, unmodifiable report containing the messages from both reports. -
Uses of ValidationReport in com.atlassian.oai.validator.schema
Methods in com.atlassian.oai.validator.schema that return ValidationReportModifier and TypeMethodDescriptionSchemaValidator.validate(SchemaValidator.JsonNodeSupplier supplier, io.swagger.v3.oas.models.media.Schema schema, String keyPrefix) Validate the given value against the given property schema.SchemaValidator.validate(String value, io.swagger.v3.oas.models.media.Schema schema, String keyPrefix) Validate the given value against the given property schema.