Class JsonValidationReportFormat
java.lang.Object
com.atlassian.oai.validator.report.JsonValidationReportFormat
- All Implemented Interfaces:
ValidationReportFormat
Formats a
ValidationReport as a JSON string for use in tooling etc.-
Method Summary
Modifier and TypeMethodDescriptionapply(ValidationReport report) Format the given validation report as aStringsuitable for logging etc.apply(ValidationReport.Message message) static JsonValidationReportFormat
-
Method Details
-
getInstance
-
apply
Description copied from interface:ValidationReportFormatFormat the given validation report as aStringsuitable for logging etc.- Specified by:
applyin interfaceValidationReportFormat- Parameters:
report- The report to format- Returns:
- A string representation of the given report
-
apply
-