public abstract class AbstractOpenApiResource extends Object
Modifier and Type | Field and Description |
---|---|
protected InfoBuilder |
infoBuilder |
protected OpenAPIBuilder |
openAPIBuilder |
protected OperationBuilder |
operationParser |
protected AbstractRequestBuilder |
requestBuilder |
protected AbstractResponseBuilder |
responseBuilder |
protected TagsBuilder |
tagbuiBuilder |
Constructor and Description |
---|
AbstractOpenApiResource() |
Modifier and Type | Method and Description |
---|---|
protected io.swagger.v3.oas.models.PathItem |
buildPathItem(org.springframework.web.bind.annotation.RequestMethod requestMethod,
io.swagger.v3.oas.models.Operation operation,
String operationPath,
io.swagger.v3.oas.models.Paths paths) |
protected void |
calculatePath(OpenAPIBuilder openAPIBuilder,
org.springframework.web.method.HandlerMethod handlerMethod,
String operationPath,
Set<org.springframework.web.bind.annotation.RequestMethod> requestMethods) |
@Autowired protected OpenAPIBuilder openAPIBuilder
@Autowired protected AbstractRequestBuilder requestBuilder
@Autowired protected AbstractResponseBuilder responseBuilder
@Autowired protected TagsBuilder tagbuiBuilder
@Autowired protected OperationBuilder operationParser
@Autowired protected InfoBuilder infoBuilder
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.PathItem buildPathItem(org.springframework.web.bind.annotation.RequestMethod requestMethod, io.swagger.v3.oas.models.Operation operation, String operationPath, io.swagger.v3.oas.models.Paths paths)
Copyright © 2019. All rights reserved.