Class DataRestRouterOperationService

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

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

    • DataRestRouterOperationService

      public DataRestRouterOperationService(DataRestOperationService dataRestOperationService, SpringDocConfigProperties springDocConfigProperties, org.springframework.data.rest.core.config.RepositoryRestConfiguration repositoryRestConfiguration, DataRestHalProvider dataRestHalProvider)
      Instantiates a new Data rest router operation builder.
      Parameters:
      dataRestOperationService - the data rest operation builder
      springDocConfigProperties - the spring doc config properties
      repositoryRestConfiguration - the repository rest configuration
      dataRestHalProvider - the data rest hal provider
  • Method Details

    • buildEntityRouterOperationList

      public void buildEntityRouterOperationList(List<RouterOperation> routerOperationList, Map<org.springframework.web.servlet.mvc.method.RequestMappingInfo,org.springframework.web.method.HandlerMethod> handlerMethodMap, org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata, DataRestRepository dataRestRepository, io.swagger.v3.oas.models.OpenAPI openAPI)
      Build entity router operation list.
      Parameters:
      routerOperationList - the router operation list
      handlerMethodMap - the handler method map
      resourceMetadata - the resource metadata
      dataRestRepository - the repository data rest
      openAPI - the open api
    • buildSearchRouterOperationList

      public void buildSearchRouterOperationList(List<RouterOperation> routerOperationList, Map<org.springframework.web.servlet.mvc.method.RequestMappingInfo,org.springframework.web.method.HandlerMethod> handlerMethodMap, org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata, DataRestRepository dataRestRepository, io.swagger.v3.oas.models.OpenAPI openAPI, org.springframework.data.rest.core.mapping.MethodResourceMapping methodResourceMapping)
      Build search router operation list.
      Parameters:
      routerOperationList - the router operation list
      handlerMethodMap - the handler method map
      resourceMetadata - the resource metadata
      dataRestRepository - the repository data rest
      openAPI - the open api
      methodResourceMapping - the method resource mapping