public class Swagger2MarkupConfig
extends java.lang.Object
| Constructor and Description |
|---|
Swagger2MarkupConfig(io.swagger.models.Swagger swagger,
io.github.robwin.markup.builder.MarkupLanguage markupLanguage,
java.lang.String examplesFolderPath,
java.lang.String schemasFolderPath,
java.lang.String descriptionsFolderPath,
boolean separatedDefinitions,
GroupBy pathsGroupedBy,
OrderBy definitionsOrderedBy,
Language outputLanguage) |
| Modifier and Type | Method and Description |
|---|---|
OrderBy |
getDefinitionsOrderedBy() |
java.lang.String |
getDescriptionsFolderPath() |
java.lang.String |
getExamplesFolderPath() |
io.github.robwin.markup.builder.MarkupLanguage |
getMarkupLanguage() |
Language |
getOutputLanguage() |
GroupBy |
getPathsGroupedBy() |
java.lang.String |
getSchemasFolderPath() |
io.swagger.models.Swagger |
getSwagger() |
boolean |
isSeparatedDefinitions() |
public Swagger2MarkupConfig(io.swagger.models.Swagger swagger,
io.github.robwin.markup.builder.MarkupLanguage markupLanguage,
java.lang.String examplesFolderPath,
java.lang.String schemasFolderPath,
java.lang.String descriptionsFolderPath,
boolean separatedDefinitions,
GroupBy pathsGroupedBy,
OrderBy definitionsOrderedBy,
Language outputLanguage)
swagger - the Swagger sourcemarkupLanguage - the markup language which is used to generate the filesexamplesFolderPath - examplesFolderPath the path to the folder where the example documents resideschemasFolderPath - the path to the folder where the schema documents residedescriptionsFolderPath - the path to the folder where the description documents resideseparatedDefinitions - specified if in addition to the definitions file, also separate definition files for each model definition should be createdpathsGroupedBy - specifies if the paths should be grouped by tags or stay as-isdefinitionsOrderedBy - specifies if the definitions should be ordered by natural ordering or stay as-isoutputLanguage - specifies language of labels in output filespublic io.swagger.models.Swagger getSwagger()
public io.github.robwin.markup.builder.MarkupLanguage getMarkupLanguage()
public java.lang.String getExamplesFolderPath()
public java.lang.String getSchemasFolderPath()
public java.lang.String getDescriptionsFolderPath()
public boolean isSeparatedDefinitions()
public GroupBy getPathsGroupedBy()
public OrderBy getDefinitionsOrderedBy()
public Language getOutputLanguage()