We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我配置了 server: servlet: context-path: /api 如果在swagger所有请求前添加/api前缀
The text was updated successfully, but these errors were encountered:
请问你是基于什么样的需求,需要在所有请求前添加前缀呢? swagger 会在请求的时候自动吧 context-path 这个全局 context 加到请求中的,不影响 swagger 调用。
Sorry, something went wrong.
项目上下文路径context-path就是统一URL前缀
No branches or pull requests
我配置了
server:
servlet:
context-path: /api
如果在swagger所有请求前添加/api前缀
The text was updated successfully, but these errors were encountered: