public class DataRestOperationService extends Object
| Constructor and Description |
|---|
DataRestOperationService(DataRestRequestService dataRestRequestService,
DataRestTagsService tagsBuilder,
DataRestResponseService dataRestResponseService,
org.springdoc.core.OperationService operationService)
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 DataRestOperationService(DataRestRequestService dataRestRequestService, DataRestTagsService tagsBuilder, DataRestResponseService dataRestResponseService, org.springdoc.core.OperationService operationService)
dataRestRequestService - the data rest request buildertagsBuilder - the tags builderdataRestResponseService - 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 © 2021. All rights reserved.