Class SwaggerResponseMessageReader
- java.lang.Object
-
- springfox.documentation.swagger.readers.operation.SwaggerResponseMessageReader
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>,OperationBuilderPlugin
@Component @Order(-2147482648) public class SwaggerResponseMessageReader extends java.lang.Object implements OperationBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description SwaggerResponseMessageReader(EnumTypeDeterminer enumTypeDeterminer, TypeNameExtractor typeNameExtractor, com.fasterxml.classmate.TypeResolver typeResolver, ModelSpecificationFactory modelSpecifications, DocumentationPluginsManager documentationPlugins)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(OperationContext context)Implement this method to override the Operation using the OperationBuilder available in the contextprotected Compatibility<java.util.Set<ResponseMessage>,java.util.Set<Response>>read(OperationContext context)booleansupports(DocumentationType delimiter)
-
-
-
Constructor Detail
-
SwaggerResponseMessageReader
@Autowired public SwaggerResponseMessageReader(EnumTypeDeterminer enumTypeDeterminer, TypeNameExtractor typeNameExtractor, com.fasterxml.classmate.TypeResolver typeResolver, ModelSpecificationFactory modelSpecifications, DocumentationPluginsManager documentationPlugins)
-
-
Method Detail
-
apply
public void apply(OperationContext context)
Description copied from interface:OperationBuilderPluginImplement this method to override the Operation using the OperationBuilder available in the context- Specified by:
applyin interfaceOperationBuilderPlugin- Parameters:
context- - context that can be used to override the parameter attributes- See Also:
Operation,OperationBuilder
-
supports
public boolean supports(DocumentationType delimiter)
- Specified by:
supportsin interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
read
protected Compatibility<java.util.Set<ResponseMessage>,java.util.Set<Response>> read(OperationContext context)
-
-