public abstract class AbstractSwaggerExtension extends Object implements SwaggerExtension
| Constructor and Description |
|---|
AbstractSwaggerExtension() |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.JavaType |
constructType(Type type) |
void |
decorateOperation(Operation operation,
Method method,
Iterator<SwaggerExtension> chain)
Decorates operation with additional vendor based extensions.
|
String |
extractOperationMethod(ApiOperation apiOperation,
Method method,
Iterator<SwaggerExtension> chain) |
List<Parameter> |
extractParameters(List<Annotation> annotations,
Type type,
Set<Type> typesToSkip,
Iterator<SwaggerExtension> chain) |
protected boolean |
shouldIgnoreClass(Class<?> cls) |
protected boolean |
shouldIgnoreType(Type type,
Set<Type> typesToSkip) |
public String extractOperationMethod(ApiOperation apiOperation, Method method, Iterator<SwaggerExtension> chain)
extractOperationMethod in interface SwaggerExtensionpublic List<Parameter> extractParameters(List<Annotation> annotations, Type type, Set<Type> typesToSkip, Iterator<SwaggerExtension> chain)
extractParameters in interface SwaggerExtensionpublic void decorateOperation(Operation operation, Method method, Iterator<SwaggerExtension> chain)
SwaggerExtensiondecorateOperation in interface SwaggerExtensionoperation - the operation, build from swagger definitionmethod - the method for additional scanchain - the chain with swagger extensions to processprotected boolean shouldIgnoreClass(Class<?> cls)
protected com.fasterxml.jackson.databind.JavaType constructType(Type type)
Copyright © 2016. All Rights Reserved.