public abstract class AbstractOpenApiResource extends Object
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
context |
protected GeneralInfoBuilder |
generalInfoBuilder |
protected static org.slf4j.Logger |
LOGGER |
protected OpenAPIBuilder |
openAPIBuilder |
protected OperationBuilder |
operationParser |
protected AbstractRequestBuilder |
requestBuilder |
protected AbstractResponseBuilder |
responseBuilder |
protected TagsBuilder |
tagbuiBuilder |
Modifier | Constructor and Description |
---|---|
protected |
AbstractOpenApiResource(OpenAPIBuilder openAPIBuilder,
AbstractRequestBuilder requestBuilder,
AbstractResponseBuilder responseBuilder,
TagsBuilder tagbuiBuilder,
OperationBuilder operationParser,
GeneralInfoBuilder infoBuilder) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculatePath(OpenAPIBuilder openAPIBuilder,
org.springframework.web.method.HandlerMethod handlerMethod,
String operationPath,
Set<org.springframework.web.bind.annotation.RequestMethod> requestMethods) |
protected io.swagger.v3.oas.models.OpenAPI |
getOpenApi() |
protected abstract void |
getPaths(Map<String,Object> findRestControllers) |
void |
setContext(org.springframework.context.ApplicationContext context) |
protected static final org.slf4j.Logger LOGGER
protected OpenAPIBuilder openAPIBuilder
protected AbstractRequestBuilder requestBuilder
protected AbstractResponseBuilder responseBuilder
protected TagsBuilder tagbuiBuilder
protected OperationBuilder operationParser
protected GeneralInfoBuilder generalInfoBuilder
protected org.springframework.context.ApplicationContext context
protected AbstractOpenApiResource(OpenAPIBuilder openAPIBuilder, AbstractRequestBuilder requestBuilder, AbstractResponseBuilder responseBuilder, TagsBuilder tagbuiBuilder, OperationBuilder operationParser, GeneralInfoBuilder infoBuilder)
protected io.swagger.v3.oas.models.OpenAPI getOpenApi()
protected void calculatePath(OpenAPIBuilder openAPIBuilder, org.springframework.web.method.HandlerMethod handlerMethod, String operationPath, Set<org.springframework.web.bind.annotation.RequestMethod> requestMethods)
@Autowired public void setContext(org.springframework.context.ApplicationContext context)
Copyright © 2019. All rights reserved.