add: 更新swagger接口配置参数
This commit is contained in:
@@ -35,7 +35,7 @@ public class SwaggerConfig {
|
||||
|
||||
ParameterBuilder tokenPar = new ParameterBuilder();
|
||||
List<Parameter> pars = new ArrayList<>();
|
||||
tokenPar.name("Authorization")
|
||||
tokenPar.name("token")
|
||||
.description("令牌")
|
||||
.modelRef(new ModelRef("string"))
|
||||
.parameterType("header")
|
||||
|
||||
Reference in New Issue
Block a user