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 |
Modifier | Constructor and Description |
---|---|
protected |
AbstractOpenApiResource(OpenAPIBuilder openAPIBuilder,
AbstractRequestBuilder requestBuilder,
AbstractResponseBuilder responseBuilder,
TagsBuilder tagbuiBuilder,
OperationBuilder operationParser,
InfoBuilder infoBuilder) |
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) |
protected OpenAPIBuilder openAPIBuilder
protected AbstractRequestBuilder requestBuilder
protected AbstractResponseBuilder responseBuilder
protected TagsBuilder tagbuiBuilder
protected OperationBuilder operationParser
protected InfoBuilder infoBuilder
protected AbstractOpenApiResource(OpenAPIBuilder openAPIBuilder, AbstractRequestBuilder requestBuilder, AbstractResponseBuilder responseBuilder, TagsBuilder tagbuiBuilder, OperationBuilder operationParser, 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.