@Component @Order(value=-2147482648) public class SwaggerResponseMessageReader extends java.lang.Object implements OperationBuilderPlugin
Constructor and Description |
---|
SwaggerResponseMessageReader(TypeNameExtractor typeNameExtractor,
com.fasterxml.classmate.TypeResolver typeResolver) |
Modifier and Type | Method and Description |
---|---|
void |
apply(OperationContext context)
Implement this method to override the Operation using the OperationBuilder available in the context
|
protected java.util.Set<ResponseMessage> |
read(OperationContext context) |
boolean |
supports(DocumentationType delimiter) |
@Autowired public SwaggerResponseMessageReader(TypeNameExtractor typeNameExtractor, com.fasterxml.classmate.TypeResolver typeResolver)
public void apply(OperationContext context)
OperationBuilderPlugin
apply
in interface OperationBuilderPlugin
context
- - context that can be used to override the parameter attributesOperation
,
OperationBuilder
public boolean supports(DocumentationType delimiter)
supports
in interface org.springframework.plugin.core.Plugin<DocumentationType>
protected java.util.Set<ResponseMessage> read(OperationContext context)