Class MediaTypeReader
- java.lang.Object
-
- springfox.documentation.spring.web.scanners.MediaTypeReader
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>,ApiListingBuilderPlugin,OperationBuilderPlugin
@Component @Order(-2147483648) public class MediaTypeReader extends java.lang.Object implements OperationBuilderPlugin, ApiListingBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description MediaTypeReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(ApiListingContext context)Implement this method to override the ApiListing using the ApiListingBuildervoidapply(OperationContext context)Implement this method to override the Operation using the OperationBuilder available in the contextbooleansupports(DocumentationType delimiter)
-
-
-
Method Detail
-
apply
public void apply(OperationContext context)
Description copied from interface:OperationBuilderPluginImplement this method to override the Operation using the OperationBuilder available in the context- Specified by:
applyin interfaceOperationBuilderPlugin- Parameters:
context- - context that can be used to override the parameter attributes- See Also:
Operation,OperationBuilder
-
apply
public void apply(ApiListingContext context)
Description copied from interface:ApiListingBuilderPluginImplement this method to override the ApiListing using the ApiListingBuilder- Specified by:
applyin interfaceApiListingBuilderPlugin- Parameters:
context- - context that can be used to override the model property attributes- See Also:
ApiListing,ApiListingBuilder
-
supports
public boolean supports(DocumentationType delimiter)
- Specified by:
supportsin interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
-