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 DocumentationContextBuilder
apply(DocumentationContextBuilder builder)
Implement this method to override enrich the documentation context builder with documentation type specific defaults.DocumentationContextBuilder
create(DocumentationType documentationType)
boolean
supports(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:
create
in 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:DefaultsProviderPlugin
Implement this method to override enrich the documentation context builder with documentation type specific defaults.- Specified by:
apply
in 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:
supports
in interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
-