Skip to content

Commit 4c62bf9

Browse files
committed
添加部分字段注释
1 parent a6c9b4e commit 4c62bf9

File tree

1 file changed

+10
-1
lines changed
  • api-boot-project/api-boot-autoconfigure/src/main/java/org/minbox/framework/api/boot/autoconfigure/swagger

1 file changed

+10
-1
lines changed

api-boot-project/api-boot-autoconfigure/src/main/java/org/minbox/framework/api/boot/autoconfigure/swagger/SwaggerProperties.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,17 @@ public static class Contact {
8787
*/
8888
@Data
8989
public static class Authorization {
90-
private String name = "Authorization";
90+
/**
91+
* 整合Oauth2后授权名称
92+
*/
93+
private String name = "ApiBoot Security Oauth 认证头信息";
94+
/**
95+
* 整合Oauth2后授权请求头Header内的key-name
96+
*/
9197
private String keyName = "Authorization";
98+
/**
99+
* 整合Oauth2后授权表达式
100+
*/
92101
private String authRegex = "^.*$";
93102
}
94103
}

0 commit comments

Comments
 (0)