Class MarkdownRenderOptions
java.lang.Object
org.brapi.schematools.core.openapi.comparator.options.MarkdownRenderOptions
- All Implemented Interfaces:
Options,Validatable
Markdown Render Options for the
OpenAPIComparator..-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if the Markdown Render should show changes in the metadata such as summary and descriptionvoidoverride(MarkdownRenderOptions overrideOptions) Overrides the values in this Options Object from the provided Options Object if they are non-nullvalidate()Checks if the Validatable object is valid, return a list of errors if it is not valid
-
Constructor Details
-
MarkdownRenderOptions
public MarkdownRenderOptions()
-
-
Method Details
-
validate
Description copied from interface:ValidatableChecks if the Validatable object is valid, return a list of errors if it is not valid- Specified by:
validatein interfaceValidatable- 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
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
-
isShowingChangedMetadata
public boolean isShowingChangedMetadata()Determines if the Markdown Render should show changes in the metadata such as summary and description- Returns:
trueif the Markdown Render should show changes in the metadata such as summary and description,falseotherwise
-