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-ui security In 类型不支持 QUERY #339

Closed
shifenghu opened this issue May 25, 2021 · 2 comments
Closed

swagger-ui security In 类型不支持 QUERY #339

shifenghu opened this issue May 25, 2021 · 2 comments

Comments

@shifenghu
Copy link

if (that.currentInstance.securityArrs != null && that.currentInstance.securityArrs.length > 0) {                $.each(that.currentInstance.securityArrs, function (i, sa) { 
              if (sa.in == "header") {                  
      headerparams[sa.name] = sa.value;                
    }              
  })         
   }

以上代码只支持header不支持query,请抽空修复一下,sa.in 有两种类型[QUERY,HEADER]

@xiaoymin
Copy link
Owner

https://github.com/xiaoymin/swagger-bootstrap-ui/issues/220

贴服务端代码、版本、效果

@xiaoymin
Copy link
Owner

你这个贴的代码解决方案还是jQuery的,knife4j 后面的版本是vue重写的了

https://gitee.com/xiaoym/knife4j

@xiaoymin xiaoymin closed this as completed Dec 3, 2022
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