demo通用返回结果改造

This commit is contained in:
macro
2019-04-13 16:22:41 +08:00
parent cfa9871b5c
commit eca02f24bd
4 changed files with 103 additions and 59 deletions

View File

@@ -69,7 +69,7 @@ public class Swagger2Config {
.build();
}
List<SecurityReference> defaultAuth() {
private List<SecurityReference> defaultAuth() {
List<SecurityReference> result = new ArrayList<>();
AuthorizationScope authorizationScope = new AuthorizationScope("global", "accessEverything");
AuthorizationScope[] authorizationScopes = new AuthorizationScope[1];