All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.oai.validator.wiremock.junit5.OpenApiValidationException Maven / Gradle / Ivy

There is a newer version: 2.44.1
Show newest version
package com.atlassian.oai.validator.wiremock.junit5;

import com.atlassian.oai.validator.report.JsonValidationReportFormat;
import com.atlassian.oai.validator.report.ValidationReport;

public class OpenApiValidationException extends RuntimeException {

    private final ValidationReport report;

    public OpenApiValidationException(final ValidationReport report) {
        super(JsonValidationReportFormat.getInstance().apply(report));
        this.report = report;
    }

    public ValidationReport getValidationReport() {
        return report;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy