Package org.springdoc.api
Class AbstractOpenApiResource
- java.lang.Object
-
- org.springdoc.api.AbstractOpenApiResource
-
public abstract class AbstractOpenApiResource extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractOpenApiResource(OpenAPIBuilder openAPIBuilder, AbstractRequestBuilder requestBuilder, AbstractResponseBuilder responseBuilder, OperationBuilder operationParser, Optional<List<OpenApiCustomiser>> openApiCustomisers)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcalculatePath(OpenAPIBuilder openAPIBuilder, org.springframework.web.method.HandlerMethod handlerMethod, String operationPath, Set<org.springframework.web.bind.annotation.RequestMethod> requestMethods)protected io.swagger.v3.oas.models.OpenAPIgetOpenApi()protected abstract voidgetPaths(Map<String,Object> findRestControllers)protected booleanisPackageToScan(String aPackage)protected booleanisPathToMatch(String operationPath)
-
-
-
Constructor Detail
-
AbstractOpenApiResource
protected AbstractOpenApiResource(OpenAPIBuilder openAPIBuilder, AbstractRequestBuilder requestBuilder, AbstractResponseBuilder responseBuilder, OperationBuilder operationParser, Optional<List<OpenApiCustomiser>> openApiCustomisers)
-
-
Method Detail
-
getOpenApi
protected io.swagger.v3.oas.models.OpenAPI getOpenApi()
-
calculatePath
protected void calculatePath(OpenAPIBuilder openAPIBuilder, org.springframework.web.method.HandlerMethod handlerMethod, String operationPath, Set<org.springframework.web.bind.annotation.RequestMethod> requestMethods)
-
isPackageToScan
protected boolean isPackageToScan(String aPackage)
-
isPathToMatch
protected boolean isPathToMatch(String operationPath)
-
-