Package io.swagger.jaxrs.ext
Interface SwaggerExtension
-
- All Known Implementing Classes:
AbstractSwaggerExtension
,DefaultParameterExtension
public interface SwaggerExtension
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
decorateOperation(io.swagger.models.Operation operation, Method method, Iterator<SwaggerExtension> chain)
Decorates operation with additional vendor based extensions.String
extractOperationMethod(io.swagger.annotations.ApiOperation apiOperation, Method method, Iterator<SwaggerExtension> chain)
List<io.swagger.models.parameters.Parameter>
extractParameters(List<Annotation> annotations, Type type, Set<Type> typesToSkip, Iterator<SwaggerExtension> chain)
-
-
-
Method Detail
-
extractOperationMethod
String extractOperationMethod(io.swagger.annotations.ApiOperation apiOperation, Method method, Iterator<SwaggerExtension> chain)
-
extractParameters
List<io.swagger.models.parameters.Parameter> extractParameters(List<Annotation> annotations, Type type, Set<Type> typesToSkip, Iterator<SwaggerExtension> chain)
-
decorateOperation
void decorateOperation(io.swagger.models.Operation operation, Method method, Iterator<SwaggerExtension> chain)
Decorates operation with additional vendor based extensions.- Parameters:
operation
- the operation, build from swagger definitionmethod
- the method for additional scanchain
- the chain with swagger extensions to process
-
-