public abstract class AbstractOpenAPIExtension extends Object implements OpenAPIExtension
Constructor and Description |
---|
AbstractOpenAPIExtension() |
Modifier and Type | Method and Description |
---|---|
protected com.fasterxml.jackson.databind.JavaType |
constructType(Type type) |
void |
decorateOperation(io.swagger.v3.oas.models.Operation operation,
Method method,
Iterator<OpenAPIExtension> chain)
Decorates operation with additional vendor based extensions.
|
String |
extractOperationMethod(Method method,
Iterator<OpenAPIExtension> chain) |
ResolvedParameter |
extractParameters(List<Annotation> annotations,
Type type,
Set<Type> typesToSkip,
io.swagger.v3.oas.models.Components components,
javax.ws.rs.Consumes classConsumes,
javax.ws.rs.Consumes methodConsumes,
boolean includeRequestBody,
com.fasterxml.jackson.annotation.JsonView jsonViewAnnotation,
Iterator<OpenAPIExtension> chain) |
protected boolean |
shouldIgnoreClass(Class<?> cls) |
protected boolean |
shouldIgnoreType(Type type,
Set<Type> typesToSkip) |
public String extractOperationMethod(Method method, Iterator<OpenAPIExtension> chain)
extractOperationMethod
in interface OpenAPIExtension
public ResolvedParameter extractParameters(List<Annotation> annotations, Type type, Set<Type> typesToSkip, io.swagger.v3.oas.models.Components components, javax.ws.rs.Consumes classConsumes, javax.ws.rs.Consumes methodConsumes, boolean includeRequestBody, com.fasterxml.jackson.annotation.JsonView jsonViewAnnotation, Iterator<OpenAPIExtension> chain)
extractParameters
in interface OpenAPIExtension
public void decorateOperation(io.swagger.v3.oas.models.Operation operation, Method method, Iterator<OpenAPIExtension> chain)
OpenAPIExtension
decorateOperation
in interface OpenAPIExtension
operation
- 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 © 2020 JBoss by Red Hat. All rights reserved.