Class ResponseMessagesReader
- java.lang.Object
-
- springfox.documentation.spring.web.readers.operation.ResponseMessagesReader
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>
,OperationBuilderPlugin
@Component @Order(-2147483648) public class ResponseMessagesReader extends java.lang.Object implements OperationBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description ResponseMessagesReader(EnumTypeDeterminer enumTypeDeterminer, TypeNameExtractor typeNameExtractor, SchemaPluginsManager pluginsManager, ModelSpecificationFactory modelSpecifications, DocumentationPluginsManager documentationPlugins)
-
Method Summary
All Methods Static 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 contextstatic int
httpStatusCode(OperationContext context)
static java.lang.String
message(OperationContext context)
boolean
supports(DocumentationType delimiter)
-
-
-
Constructor Detail
-
ResponseMessagesReader
@Autowired public ResponseMessagesReader(EnumTypeDeterminer enumTypeDeterminer, TypeNameExtractor typeNameExtractor, SchemaPluginsManager pluginsManager, 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>
-
httpStatusCode
public static int httpStatusCode(OperationContext context)
-
message
public static java.lang.String message(OperationContext context)
-
-