public class SpringRepositoryRestResourceProvider extends Object implements org.springdoc.core.providers.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,
SpringDocDataRestUtils springDocDataRestUtils)
Instantiates a new Spring repository rest resource provider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
customize(io.swagger.v3.oas.models.OpenAPI openAPI)
Customize.
|
Map<String,Object> |
getBasePathAwareControllerEndpoints()
Gets Base Path Aware controller endpoints.
|
Map |
getHandlerMethods()
Gets handler methods.
|
List<org.springdoc.core.fn.RouterOperation> |
getRouterOperations(io.swagger.v3.oas.models.OpenAPI openAPI,
Locale locale)
Gets router operations.
|
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,
SpringDocDataRestUtils springDocDataRestUtils)
mappings - the mappingsrepositories - the repositoriesassociations - the associationsapplicationContext - the application contextdataRestRouterOperationService - the data rest router operation builderpersistentEntities - the persistent entitiesmapper - the mapperspringDocDataRestUtils - the spring doc data rest utilspublic List<org.springdoc.core.fn.RouterOperation> getRouterOperations(io.swagger.v3.oas.models.OpenAPI openAPI, Locale locale)
getRouterOperations in interface org.springdoc.core.providers.RepositoryRestResourceProvideropenAPI - the open apilocale - the localepublic Map<String,Object> getBasePathAwareControllerEndpoints()
getBasePathAwareControllerEndpoints in interface org.springdoc.core.providers.RepositoryRestResourceProviderpublic Map getHandlerMethods()
getHandlerMethods in interface org.springdoc.core.providers.RepositoryRestResourceProviderpublic void customize(io.swagger.v3.oas.models.OpenAPI openAPI)
customize in interface org.springdoc.core.providers.RepositoryRestResourceProvideropenAPI - the open apiCopyright © 2024. All rights reserved.