public class SpringRepositoryRestResourceProvider extends Object implements org.springdoc.core.RepositoryRestResourceProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
REPOSITORY_SCHEMA_CONTROLLER
The constant REPOSITORY_SCHEMA_CONTROLLER.
|
| Constructor and Description |
|---|
SpringRepositoryRestResourceProvider(org.springframework.data.rest.core.mapping.ResourceMappings mappings,
org.springframework.data.repository.support.Repositories repositories,
org.springframework.data.rest.webmvc.mapping.Associations associations,
org.springframework.context.ApplicationContext applicationContext,
DataRestRouterOperationService dataRestRouterOperationService,
org.springframework.data.mapping.context.PersistentEntities persistentEntities,
com.fasterxml.jackson.databind.ObjectMapper mapper)
Instantiates a new Spring repository rest resource provider.
|
| Modifier and Type | Method and Description |
|---|---|
Map |
getHandlerMethods()
Gets handler methods.
|
Map<String,Object> |
getRepositoryRestControllerEndpoints()
Gets repository rest controller endpoints.
|
List<org.springdoc.core.fn.RouterOperation> |
getRouterOperations(io.swagger.v3.oas.models.OpenAPI openAPI) |
public static final String REPOSITORY_SCHEMA_CONTROLLER
public SpringRepositoryRestResourceProvider(org.springframework.data.rest.core.mapping.ResourceMappings mappings,
org.springframework.data.repository.support.Repositories repositories,
org.springframework.data.rest.webmvc.mapping.Associations associations,
org.springframework.context.ApplicationContext applicationContext,
DataRestRouterOperationService dataRestRouterOperationService,
org.springframework.data.mapping.context.PersistentEntities persistentEntities,
com.fasterxml.jackson.databind.ObjectMapper mapper)
mappings - the mappingsrepositories - the repositoriesassociations - the associationsapplicationContext - the application contextdataRestRouterOperationService - the data rest router operation builderpersistentEntities - the persistent entitiesmapper - the mapperpublic List<org.springdoc.core.fn.RouterOperation> getRouterOperations(io.swagger.v3.oas.models.OpenAPI openAPI)
getRouterOperations in interface org.springdoc.core.RepositoryRestResourceProviderpublic Map<String,Object> getRepositoryRestControllerEndpoints()
getRepositoryRestControllerEndpoints in interface org.springdoc.core.RepositoryRestResourceProviderpublic Map getHandlerMethods()
getHandlerMethods in interface org.springdoc.core.RepositoryRestResourceProviderCopyright © 2021. All rights reserved.