public final class DynamicSecurityDocumentExtension
extends io.github.swagger2markup.spi.SecurityDocumentExtension
contentPath to append to Security 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 |
|---|
DynamicSecurityDocumentExtension() |
DynamicSecurityDocumentExtension(java.nio.file.Path contentPath,
io.github.swagger2markup.markup.builder.MarkupLanguage extensionMarkupLanguage)
Instantiate extension with the default extension id.
|
DynamicSecurityDocumentExtension(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.SecurityDocumentExtension.Context context) |
void |
init(io.github.swagger2markup.Swagger2MarkupConverter.Context globalContext) |
protected java.nio.file.Path contentPath
protected io.github.swagger2markup.Swagger2MarkupConverter.Context globalContext
public DynamicSecurityDocumentExtension(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 DynamicSecurityDocumentExtension(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 DynamicSecurityDocumentExtension()
public void init(io.github.swagger2markup.Swagger2MarkupConverter.Context globalContext)
init in class io.github.swagger2markup.spi.SecurityDocumentExtensionpublic void apply(io.github.swagger2markup.spi.SecurityDocumentExtension.Context context)
apply in class io.github.swagger2markup.spi.SecurityDocumentExtension