public class SpringRepositoryRestResourceProvider extends Object implements org.springdoc.core.RepositoryRestResourceProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
REPOSITORY_ENTITY_CONTROLLER
The constant REPOSITORY_ENTITY_CONTROLLER.
|
static String |
REPOSITORY_PROPERTY_CONTROLLER
The constant REPOSITORY_PROPERTY_CONTROLLER.
|
static String |
REPOSITORY_SCHEMA_CONTROLLER
The constant REPOSITORY_SCHEMA_CONTROLLER.
|
static String |
REPOSITORY_SERACH_CONTROLLER
The constant REPOSITORY_SERACH_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.data.rest.webmvc.support.DelegatingHandlerMapping delegatingHandlerMapping,
DataRestRouterOperationBuilder dataRestRouterOperationBuilder,
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 |
|---|---|
List<org.springdoc.core.fn.RouterOperation> |
getRouterOperations(io.swagger.v3.oas.models.OpenAPI openAPI) |
public static final String REPOSITORY_ENTITY_CONTROLLER
public static final String REPOSITORY_SERACH_CONTROLLER
public static final String REPOSITORY_SCHEMA_CONTROLLER
public static final String REPOSITORY_PROPERTY_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.data.rest.webmvc.support.DelegatingHandlerMapping delegatingHandlerMapping,
DataRestRouterOperationBuilder dataRestRouterOperationBuilder,
org.springframework.data.mapping.context.PersistentEntities persistentEntities,
com.fasterxml.jackson.databind.ObjectMapper mapper)
mappings - the mappingsrepositories - the repositoriesassociations - the associationsdelegatingHandlerMapping - the delegating handler mappingdataRestRouterOperationBuilder - 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.RepositoryRestResourceProviderCopyright © 2020. All rights reserved.