Class JsonRender
java.lang.Object
org.brapi.schematools.core.openapi.comparator.JsonRender
- All Implemented Interfaces:
org.openapitools.openapidiff.core.output.Render
A modified render for JSON that allows pretty print.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(org.openapitools.openapidiff.core.model.ChangedOpenApi diff, OutputStreamWriter outputStreamWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openapitools.openapidiff.core.output.Render
render, safelyAppend
-
Constructor Details
-
JsonRender
public JsonRender(boolean prettyPrint)
-
-
Method Details
-
render
public void render(org.openapitools.openapidiff.core.model.ChangedOpenApi diff, OutputStreamWriter outputStreamWriter) - Specified by:
renderin interfaceorg.openapitools.openapidiff.core.output.Render
-