Class SwaggerDefaultConfiguration
- java.lang.Object
-
- springfox.documentation.swagger1.web.SwaggerDefaultConfiguration
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>,DefaultsProviderPlugin
public class SwaggerDefaultConfiguration extends java.lang.Object implements DefaultsProviderPlugin
-
-
Constructor Summary
Constructors Constructor Description SwaggerDefaultConfiguration(Defaults defaults, com.fasterxml.classmate.TypeResolver typeResolver, PathProvider pathProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentationContextBuilderapply(DocumentationContextBuilder builder)Implement this method to override enrich the documentation context builder with documentation type specific defaults.DocumentationContextBuildercreate(DocumentationType documentationType)booleansupports(DocumentationType delimiter)
-
-
-
Constructor Detail
-
SwaggerDefaultConfiguration
public SwaggerDefaultConfiguration(Defaults defaults, com.fasterxml.classmate.TypeResolver typeResolver, PathProvider pathProvider)
-
-
Method Detail
-
create
public DocumentationContextBuilder create(DocumentationType documentationType)
Description copied from interface:DefaultsProviderPlugin- Specified by:
createin interfaceDefaultsProviderPlugin- Parameters:
documentationType- - creates a default DocumentationContextBuilder based on documentation type- Returns:
- - returns the documentation context builder
-
apply
public DocumentationContextBuilder apply(DocumentationContextBuilder builder)
Description copied from interface:DefaultsProviderPluginImplement this method to override enrich the documentation context builder with documentation type specific defaults.- Specified by:
applyin interfaceDefaultsProviderPlugin- Parameters:
builder- - creates a default DocumentationContextBuilder based on documentation type- Returns:
- - returns the documentation context builder
-
supports
public boolean supports(DocumentationType delimiter)
- Specified by:
supportsin interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
-