mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 21:42:32 +08:00
Merge pull request #4511 from dataease/pr@dev@refactor_api-doc
refactor: Api文档整理
This commit is contained in:
@@ -162,6 +162,7 @@ public class XAuthServer {
|
||||
}
|
||||
|
||||
@GetMapping("/getDatasourceTypes")
|
||||
@ApiOperation("查询授权的数据类型")
|
||||
public List<DatasourceBaseType> getDatasourceTypes() {
|
||||
Collection<DataSourceType> activeType = datasourceService.types();
|
||||
Map<String, String> activeTypeMap = activeType.stream().collect(Collectors.toMap(DataSourceType::getType, DataSourceType::getName));
|
||||
|
||||
Reference in New Issue
Block a user