Class DataRestOperationService

java.lang.Object
org.springdoc.core.data.DataRestOperationService

public class DataRestOperationService extends Object
The type Data rest operation builder.
Author:
bnasslahsen
  • Constructor Details

    • DataRestOperationService

      public DataRestOperationService(DataRestRequestService dataRestRequestService, DataRestTagsService tagsBuilder, DataRestResponseService dataRestResponseService, OperationService operationService)
      Instantiates a new Data rest operation builder.
      Parameters:
      dataRestRequestService - the data rest request builder
      tagsBuilder - the tags builder
      dataRestResponseService - the data rest response builder
      operationService - the operation service
  • Method Details

    • 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, MethodAttributes methodAttributes, org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata, org.springframework.data.rest.core.mapping.MethodResourceMapping methodResourceMapping, ControllerType controllerType)
      Build operation.
      Parameters:
      handlerMethod - the handler method
      dataRestRepository - the repository data rest
      openAPI - the open api
      requestMethod - the request method
      operationPath - the operation path
      methodAttributes - the method attributes
      resourceMetadata - the resource metadata
      methodResourceMapping - the method resource mapping
      controllerType - the controller type
      Returns:
      the operation