yml配置文件添加swagger-ui的版本号配置
This commit is contained in:
parent
9b1602649e
commit
d09b65c396
@ -190,6 +190,7 @@ springdoc:
|
||||
- /api/mockito/data
|
||||
swagger-ui:
|
||||
enabled: true #开启/禁止swagger,prod可以设置为false
|
||||
version: 5.10.3 #指定swagger-ui的版本号
|
||||
disable-swagger-default-url: true #禁用default petstore url
|
||||
path: /swagger-ui.html #swagger页面
|
||||
persistAuthorization: true # 持久化认证数据,如果设置为 true,它会保留授权数据并且不会在浏览器关闭/刷新时丢失
|
||||
|
Loading…
Reference in New Issue
Block a user