Package org.springdoc.core.data
Class DataRestRouterOperationService
java.lang.Object
org.springdoc.core.data.DataRestRouterOperationService
The type Data rest router operation builder.
- Author:
- bnasslahsen
-
Constructor Summary
ConstructorsConstructorDescriptionDataRestRouterOperationService(DataRestOperationService dataRestOperationService, SpringDocConfigProperties springDocConfigProperties, org.springframework.data.rest.core.config.RepositoryRestConfiguration repositoryRestConfiguration, DataRestHalProvider dataRestHalProvider) Instantiates a new Data rest router operation builder. -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEntityRouterOperationList(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.voidbuildSearchRouterOperationList(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.
-
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 builderspringDocConfigProperties- the spring doc config propertiesrepositoryRestConfiguration- the repository rest configurationdataRestHalProvider- 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 listhandlerMethodMap- the handler method mapresourceMetadata- the resource metadatadataRestRepository- the repository data restopenAPI- 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 listhandlerMethodMap- the handler method mapresourceMetadata- the resource metadatadataRestRepository- the repository data restopenAPI- the open apimethodResourceMapping- the method resource mapping
-