jetplugins / apidocx

Generate API documents to any place: YApi, RAP2, Eolink, etc.
https://plugins.jetbrains.com/plugin/17425-apidocx/
Apache License 2.0
178 stars 40 forks source link

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

Closed dy7766 closed 1 month ago

dy7766 commented 1 year ago

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

lkqm commented 1 year ago

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