docs: 把/swagger-ui.html加入白名单,否则输入这个地址依然需要校验token

(cherry picked from commit ee94c6237bc6f9a702495751ea4e1f592891613c)
This commit is contained in:
tangheng
2024-12-18 14:32:01 +08:00
parent e8b97bc9c8
commit 25d0b41223
2 changed files with 2 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ security:
ignore-urls:
- /v3/api-docs/**
- /doc.html
- ${springdoc.swagger-ui.path}
- /swagger-resources/**
- /webjars/**
- /swagger-ui/**