public abstract class AbstractOpenApiResource extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractOpenApiResource(OpenAPIBuilder openAPIBuilder,
AbstractRequestBuilder requestBuilder,
AbstractResponseBuilder responseBuilder,
OperationBuilder operationParser,
Optional<List<OpenApiCustomiser>> openApiCustomisers) |
protected |
AbstractOpenApiResource(OpenAPIBuilder openAPIBuilder,
AbstractRequestBuilder requestBuilder,
AbstractResponseBuilder responseBuilder,
OperationBuilder operationParser,
Optional<List<OpenApiCustomiser>> openApiCustomisers,
List<String> pathsToMatch,
List<String> packagesToScan) |
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) |
protected boolean |
isPackageToScan(String aPackage) |
protected boolean |
isPathToMatch(String operationPath) |
protected AbstractOpenApiResource(OpenAPIBuilder openAPIBuilder, AbstractRequestBuilder requestBuilder, AbstractResponseBuilder responseBuilder, OperationBuilder operationParser, Optional<List<OpenApiCustomiser>> openApiCustomisers)
protected AbstractOpenApiResource(OpenAPIBuilder openAPIBuilder, AbstractRequestBuilder requestBuilder, AbstractResponseBuilder responseBuilder, OperationBuilder operationParser, Optional<List<OpenApiCustomiser>> openApiCustomisers, List<String> pathsToMatch, List<String> packagesToScan)
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)
protected boolean isPackageToScan(String aPackage)
protected boolean isPathToMatch(String operationPath)
Copyright © 2020. All rights reserved.