@Component @Order(value=-2147483648) public class ResponseMessagesReader extends java.lang.Object implements OperationBuilderPlugin
| Constructor and Description |
|---|
ResponseMessagesReader(TypeNameExtractor typeNameExtractor) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(OperationContext context)
Implement this method to override the Operation using the OperationBuilder available in the context
|
static int |
httpStatusCode(OperationContext context) |
static java.lang.String |
message(OperationContext context) |
boolean |
supports(DocumentationType delimiter) |
@Autowired public ResponseMessagesReader(TypeNameExtractor typeNameExtractor)
public void apply(OperationContext context)
OperationBuilderPluginapply in interface OperationBuilderPlugincontext - - context that can be used to override the parameter attributesOperation,
OperationBuilderpublic boolean supports(DocumentationType delimiter)
supports in interface org.springframework.plugin.core.Plugin<DocumentationType>public static int httpStatusCode(OperationContext context)
public static java.lang.String message(OperationContext context)