Class OpenApiResponseReader
- java.lang.Object
-
- springfox.documentation.swagger.readers.operation.OpenApiResponseReader
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>
,OperationBuilderPlugin
@Component @Order(-2147481648) public class OpenApiResponseReader extends java.lang.Object implements OperationBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description OpenApiResponseReader(com.fasterxml.classmate.TypeResolver typeResolver, ModelSpecificationFactory modelSpecifications, DocumentationPluginsManager documentationPlugins)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(OperationContext context)
Implement this method to override the Operation using the OperationBuilder available in the contextprotected java.util.Set<Response>
read(OperationContext context)
boolean
supports(DocumentationType delimiter)
-
-
-
Constructor Detail
-
OpenApiResponseReader
@Autowired public OpenApiResponseReader(com.fasterxml.classmate.TypeResolver typeResolver, ModelSpecificationFactory modelSpecifications, DocumentationPluginsManager documentationPlugins)
-
-
Method Detail
-
apply
public void apply(OperationContext context)
Description copied from interface:OperationBuilderPlugin
Implement this method to override the Operation using the OperationBuilder available in the context- Specified by:
apply
in 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:
supports
in interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
read
protected java.util.Set<Response> read(OperationContext context)
-
-