public class DataRestOperationBuilder extends Object
| Constructor and Description |
|---|
DataRestOperationBuilder(DataRestRequestBuilder dataRestRequestBuilder,
DataRestTagsBuilder tagsBuilder,
DataRestResponseBuilder dataRestResponseBuilder)
Instantiates a new Data rest operation builder.
|
| Modifier and Type | Method and Description |
|---|---|
io.swagger.v3.oas.models.Operation |
buildOperation(org.springframework.web.method.HandlerMethod handlerMethod,
DataRestRepository dataRestRepository,
io.swagger.v3.oas.models.OpenAPI openAPI,
org.springframework.web.bind.annotation.RequestMethod requestMethod,
String operationPath,
org.springdoc.core.MethodAttributes methodAttributes,
org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata,
org.springframework.data.rest.core.mapping.MethodResourceMapping methodResourceMapping,
ControllerType controllerType)
Build operation operation.
|
public DataRestOperationBuilder(DataRestRequestBuilder dataRestRequestBuilder, DataRestTagsBuilder tagsBuilder, DataRestResponseBuilder dataRestResponseBuilder)
dataRestRequestBuilder - the data rest request buildertagsBuilder - the tags builderdataRestResponseBuilder - the data rest response builderpublic io.swagger.v3.oas.models.Operation buildOperation(org.springframework.web.method.HandlerMethod handlerMethod,
DataRestRepository dataRestRepository,
io.swagger.v3.oas.models.OpenAPI openAPI,
org.springframework.web.bind.annotation.RequestMethod requestMethod,
String operationPath,
org.springdoc.core.MethodAttributes methodAttributes,
org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata,
org.springframework.data.rest.core.mapping.MethodResourceMapping methodResourceMapping,
ControllerType controllerType)
handlerMethod - the handler methoddataRestRepository - the repository data restopenAPI - the open apirequestMethod - the request methodoperationPath - the operation pathmethodAttributes - the method attributesresourceMetadata - the resource metadatamethodResourceMapping - the method resource mappingcontrollerType - the controller typeCopyright © 2020. All rights reserved.