我试图传达认证/安全方案需要设置标题,如下所示:
Authorization: Bearer <token>
Run Code Online (Sandbox Code Playgroud)
这是我基于swagger文档的内容:
securityDefinitions:
APIKey:
type: apiKey
name: Authorization
in: header
security:
- APIKey: []
Run Code Online (Sandbox Code Playgroud)
提前致谢!