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

Merge pull request !20 from 太空眼睛/tkyj-swagger
This commit is contained in:
郝先瑞
2024-12-18 07:01:07 +00:00
committed by Gitee
2 changed files with 2 additions and 0 deletions

View File

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

View File

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