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
new实例的时候添加的Authorization和content-type项 在网页上填入了具体信息 接口查询还是报401未授权 后端接口没问题,以上token和content-type设置在postman跑过,是可以查询到数据的,但是在网页swagger-ui报401,如何处理?
The text was updated successfully, but these errors were encountered:
问题已经解决了,发现删除自定义配置的swaggerOptions,这样new SwaggerRouter() 生成的实例,在网页上添加授权信息,相关接口是可以查询数据的,不会报401了。估计是还不支持自定义配置swaggerOptions的功能吧。
Sorry, something went wrong.
No branches or pull requests
new实例的时候添加的Authorization和content-type项
在网页上填入了具体信息
接口查询还是报401未授权
后端接口没问题,以上token和content-type设置在postman跑过,是可以查询到数据的,但是在网页swagger-ui报401,如何处理?
The text was updated successfully, but these errors were encountered: