Package org.springdoc.data.rest.core
Class DataRestOperationService
- java.lang.Object
-
- org.springdoc.data.rest.core.DataRestOperationService
-
public class DataRestOperationService extends Object
The type Data rest operation builder.- Author:
- bnasslahsen
-
-
Constructor Summary
Constructors Constructor Description DataRestOperationService(DataRestRequestService dataRestRequestService, DataRestTagsService tagsBuilder, DataRestResponseService dataRestResponseService, org.springdoc.core.OperationService operationService)Instantiates a new Data rest operation builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.swagger.v3.oas.models.OperationbuildOperation(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.
-
-
-
Constructor Detail
-
DataRestOperationService
public DataRestOperationService(DataRestRequestService dataRestRequestService, DataRestTagsService tagsBuilder, DataRestResponseService dataRestResponseService, org.springdoc.core.OperationService operationService)
Instantiates a new Data rest operation builder.- Parameters:
dataRestRequestService- the data rest request buildertagsBuilder- the tags builderdataRestResponseService- the data rest response builderoperationService- the operation service
-
-
Method Detail
-
buildOperation
public 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.- Parameters:
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 type- Returns:
- the operation
-
-