public interface Swagger2MarkupConfig
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAnchorPrefix()
Optionally prefix all anchors for uniqueness.
|
OrderBy |
getDefinitionOrderBy()
Specifies definition ordering.
|
java.util.Comparator<java.lang.String> |
getDefinitionOrdering()
Specifies a custom comparator function to order definitions.
|
java.lang.String |
getDefinitionsDocument()
Definitions document name (without extension).
|
Swagger2MarkupProperties |
getExtensionsProperties()
Returns properties for extensions.
|
java.util.regex.Pattern |
getHeaderPattern()
Specifies the regex pattern used for header matching
|
java.lang.String |
getInterDocumentCrossReferencesPrefix()
Inter-document cross-references optional prefix.
|
io.github.swagger2markup.markup.builder.LineSeparator |
getLineSeparator()
Specifies the line separator which should be used.
|
io.github.swagger2markup.markup.builder.MarkupLanguage |
getMarkupLanguage()
Specifies the markup language which should be used to generate the files.
|
OrderBy |
getOperationOrderBy()
Specifies operation ordering.
|
java.util.Comparator<PathOperation> |
getOperationOrdering()
Specifies a custom comparator function to order operations.
|
Language |
getOutputLanguage()
Specifies labels language of output files.
|
java.lang.String |
getOverviewDocument()
Overview document name (without extension).
|
java.util.List<PageBreakLocations> |
getPageBreakLocations()
Returns the list of page break locations
|
OrderBy |
getParameterOrderBy()
Specifies parameter ordering.
|
java.util.Comparator<io.swagger.models.parameters.Parameter> |
getParameterOrdering()
Specifies a custom comparator function to order parameters.
|
java.lang.String |
getPathsDocument()
Paths document name (without extension).
|
GroupBy |
getPathsGroupedBy()
Specifies if the operations should be grouped by tags or stay as-is.
|
OrderBy |
getPropertyOrderBy()
Specifies property ordering.
|
java.util.Comparator<java.lang.String> |
getPropertyOrdering()
Specifies a custom comparator function to order properties.
|
OrderBy |
getResponseOrderBy()
Specifies response ordering.
|
java.util.Comparator<java.lang.String> |
getResponseOrdering()
Specifies a custom comparator function to order responses.
|
java.lang.String |
getSecurityDocument()
Security document name (without extension).
|
java.lang.String |
getSeparatedDefinitionsFolder()
Separated definitions sub-folder name.
|
java.lang.String |
getSeparatedOperationsFolder()
Separated operations sub-folder name.
|
io.github.swagger2markup.markup.builder.MarkupLanguage |
getSwaggerMarkupLanguage()
Specifies the markup language used in Swagger descriptions.
|
OrderBy |
getTagOrderBy()
Specifies tag ordering.
|
java.util.Comparator<java.lang.String> |
getTagOrdering()
Specifies a custom comparator function to order tags.
|
boolean |
isBasePathPrefixEnabled()
Prepend the base path to all paths.
|
boolean |
isFlatBodyEnabled()
Optionally isolate the body parameter, if any, from other parameters.
|
boolean |
isGeneratedExamplesEnabled()
Include generated examples into the documents.
|
boolean |
isInlineSchemaEnabled()
Specifies if inline schemas are detailed
|
boolean |
isInterDocumentCrossReferencesEnabled()
Enable use of inter-document cross-references when needed.
|
boolean |
isPathSecuritySectionEnabled()
Optionally disable the security section for path sections
|
boolean |
isSeparatedDefinitionsEnabled()
In addition to the Definitions file, also create separate definition files for each model definition.
|
boolean |
isSeparatedOperationsEnabled()
In addition to the Paths file, also create separate operation files for each operation.
|
io.github.swagger2markup.markup.builder.MarkupLanguage getMarkupLanguage()
io.github.swagger2markup.markup.builder.MarkupLanguage getSwaggerMarkupLanguage()
MarkupLanguage.MARKDOWN is assumed.boolean isGeneratedExamplesEnabled()
boolean isBasePathPrefixEnabled()
boolean isSeparatedDefinitionsEnabled()
boolean isSeparatedOperationsEnabled()
GroupBy getPathsGroupedBy()
Language getOutputLanguage()
boolean isInlineSchemaEnabled()
OrderBy getTagOrderBy()
java.util.regex.Pattern getHeaderPattern()
java.util.Comparator<java.lang.String> getTagOrdering()
OrderBy getOperationOrderBy()
java.util.Comparator<PathOperation> getOperationOrdering()
OrderBy getDefinitionOrderBy()
java.util.Comparator<java.lang.String> getDefinitionOrdering()
OrderBy getParameterOrderBy()
java.util.Comparator<io.swagger.models.parameters.Parameter> getParameterOrdering()
OrderBy getPropertyOrderBy()
java.util.Comparator<java.lang.String> getPropertyOrdering()
OrderBy getResponseOrderBy()
java.util.Comparator<java.lang.String> getResponseOrdering()
boolean isInterDocumentCrossReferencesEnabled()
java.lang.String getInterDocumentCrossReferencesPrefix()
boolean isFlatBodyEnabled()
boolean isPathSecuritySectionEnabled()
java.lang.String getAnchorPrefix()
java.lang.String getOverviewDocument()
java.lang.String getPathsDocument()
java.lang.String getDefinitionsDocument()
java.lang.String getSecurityDocument()
java.lang.String getSeparatedOperationsFolder()
java.lang.String getSeparatedDefinitionsFolder()
io.github.swagger2markup.markup.builder.LineSeparator getLineSeparator()
Swagger2MarkupProperties getExtensionsProperties()
java.util.List<PageBreakLocations> getPageBreakLocations()