public final class DynamicOverviewDocumentExtension
extends io.github.swagger2markup.spi.OverviewDocumentExtension
contentPath to append to Overview document.
Markup files are appended in the natural order of their names, for each category.
| Modifier and Type | Field and Description |
|---|---|
protected java.nio.file.Path |
contentPath |
protected io.github.swagger2markup.Swagger2MarkupConverter.Context |
globalContext |
| Constructor and Description |
|---|
DynamicOverviewDocumentExtension() |
DynamicOverviewDocumentExtension(java.nio.file.Path contentPath,
io.github.swagger2markup.markup.builder.MarkupLanguage extensionMarkupLanguage)
Instantiate extension with the default extension id.
|
DynamicOverviewDocumentExtension(java.lang.String extensionId,
java.nio.file.Path contentPath,
io.github.swagger2markup.markup.builder.MarkupLanguage extensionMarkupLanguage)
Instantiate extension
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(io.github.swagger2markup.spi.OverviewDocumentExtension.Context context) |
void |
init(io.github.swagger2markup.Swagger2MarkupConverter.Context globalContext) |
protected java.nio.file.Path contentPath
protected io.github.swagger2markup.Swagger2MarkupConverter.Context globalContext
public DynamicOverviewDocumentExtension(java.nio.file.Path contentPath,
io.github.swagger2markup.markup.builder.MarkupLanguage extensionMarkupLanguage)
contentPath - the base Path where the content is storedextensionMarkupLanguage - the MarkupLanguage of the extension contentpublic DynamicOverviewDocumentExtension(java.lang.String extensionId,
java.nio.file.Path contentPath,
io.github.swagger2markup.markup.builder.MarkupLanguage extensionMarkupLanguage)
extensionId - the unique ID of the extensioncontentPath - the base Path where the content is storedextensionMarkupLanguage - the MarkupLanguage of the extension contentpublic DynamicOverviewDocumentExtension()
public void init(io.github.swagger2markup.Swagger2MarkupConverter.Context globalContext)
init in class io.github.swagger2markup.spi.OverviewDocumentExtensionpublic void apply(io.github.swagger2markup.spi.OverviewDocumentExtension.Context context)
apply in class io.github.swagger2markup.spi.OverviewDocumentExtension