Class DefaultResponseTypeReader
- java.lang.Object
-
- springfox.documentation.spring.web.plugins.DefaultResponseTypeReader
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>
,ResponseBuilderPlugin
@Component public class DefaultResponseTypeReader extends java.lang.Object implements ResponseBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description DefaultResponseTypeReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(ResponseContext responseContext)
Implement this method to enrich return valuesboolean
supports(DocumentationType delimiter)
-
-
-
Method Detail
-
apply
public void apply(ResponseContext responseContext)
Description copied from interface:ResponseBuilderPlugin
Implement this method to enrich return values- Specified by:
apply
in interfaceResponseBuilderPlugin
- Parameters:
responseContext
- - context that can be used to override the parameter attributes- See Also:
Response
,ResponseBuilder
-
supports
public boolean supports(DocumentationType delimiter)
- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
-