public class DataRestRouterOperationService extends Object
| Constructor and Description |
|---|
DataRestRouterOperationService(DataRestOperationService dataRestOperationService,
org.springdoc.core.SpringDocConfigProperties springDocConfigProperties,
org.springframework.data.rest.core.config.RepositoryRestConfiguration repositoryRestConfiguration,
DataRestHalProvider dataRestHalProvider)
Instantiates a new Data rest router operation builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildEntityRouterOperationList(List<org.springdoc.core.fn.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.
|
void |
buildSearchRouterOperationList(List<org.springdoc.core.fn.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.
|
public DataRestRouterOperationService(DataRestOperationService dataRestOperationService, org.springdoc.core.SpringDocConfigProperties springDocConfigProperties, org.springframework.data.rest.core.config.RepositoryRestConfiguration repositoryRestConfiguration, DataRestHalProvider dataRestHalProvider)
dataRestOperationService - the data rest operation builderspringDocConfigProperties - the spring doc config propertiesrepositoryRestConfiguration - the repository rest configurationdataRestHalProvider - the data rest hal providerpublic void buildEntityRouterOperationList(List<org.springdoc.core.fn.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)
routerOperationList - the router operation listhandlerMethodMap - the handler method mapresourceMetadata - the resource metadatadataRestRepository - the repository data restopenAPI - the open apipublic void buildSearchRouterOperationList(List<org.springdoc.core.fn.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)
routerOperationList - the router operation listhandlerMethodMap - the handler method mapresourceMetadata - the resource metadatadataRestRepository - the repository data restopenAPI - the open apimethodResourceMapping - the method resource mappingCopyright © 2021. All rights reserved.