java.lang.Object
org.brapi.schematools.core.openapi.comparator.options.JSONRenderOptions
All Implemented Interfaces:
Options, Validatable

public class JSONRenderOptions extends Object implements Options
JSONRender Options for the OpenAPIComparator..
  • Constructor Details

    • JSONRenderOptions

      public JSONRenderOptions()
  • Method Details

    • validate

      public Validation validate()
      Description copied from interface: Validatable
      Checks if the Validatable object is valid, return a list of errors if it is not valid
      Specified by:
      validate in interface Validatable
      Returns:
      a Validation object than can be used queried to find if the object is valid and any errors if it is not valid
    • override

      public void override(JSONRenderOptions overrideOptions)
      Overrides the values in this Options Object from the provided Options Object if they are non-null
      Parameters:
      overrideOptions - the options which will be used to override this Options Object
    • isPrettyPrinting

      public boolean isPrettyPrinting()
      Determines if the Comparator should pretty print any output
      Returns:
      true if the Comparator should pretty print any output, false otherwise