refactor: Api文档整理

This commit is contained in:
wangjiahao 2023-02-10 14:12:02 +08:00
parent e41295c36b
commit 44978fad4f

View File

@ -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));