Skip to content
New issue

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

swagger 中的@ApiBearerAuth装饰器推荐也可以放到方法中 #2575

Open
magdsnail opened this issue Dec 9, 2022 · 5 comments
Open
Labels
type: enhancement New feature or request

Comments

@magdsnail
Copy link

swagger 中的@ApiBearerAuth装饰器推荐也可以放到方法中,现在的现象是放到某个方法中之后整个controller都会需要验证,能否支持放到哪个方法 哪个方法才需要验证

@czy88840616 czy88840616 added the type: enhancement New feature or request label Dec 11, 2022
@pandaApe
Copy link

@magdsnail @czy88840616 有同样需求,请问最后是怎么搞定的?

@magdsnail
Copy link
Author

@magdsnail @czy88840616 有同样需求,请问最后是怎么搞定的?

直接先放到controller头部了,官方说是会再下个版本中考虑加入,不知道现在加入了没有。

@pandaApe
Copy link

@magdsnail @czy88840616 有同样需求,请问最后是怎么搞定的?

直接先放到controller头部了,官方说是会再下个版本中考虑加入,不知道现在加入了没有。

那就是还没有,我就是发现没有才来问的,哈哈[手动狗头]

@pandaApe
Copy link

@czy88840616 老哥,最近有计划加这个吗?

@czy88840616
Copy link
Member

czy88840616 commented Nov 21, 2023

目前没有。🐶

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Development

No branches or pull requests

3 participants