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

想要在yapi中生成的接口中添加header参数 接口定义里应该怎么写? #66

Open
dy7766 opened this issue May 28, 2023 · 1 comment

Comments

@dy7766
Copy link

dy7766 commented May 28, 2023

想要接口的header里添加Authorization作为入参

@lkqm
Copy link
Member

lkqm commented May 28, 2023

如果是全局那么是不支持的,某个方法需要可以使用 spring参数注解 @RequestHeader String authorization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants