最近写的swagger文档,要加jwt授权,所以几经google终于搞定了,简简单单几行配置如下:
securityDefinitions: APIKey: type: apiKey name: Authorization in: header security: - APIKey: []
时间: 2024-09-28 00:55:21
最近写的swagger文档,要加jwt授权,所以几经google终于搞定了,简简单单几行配置如下:
securityDefinitions: APIKey: type: apiKey name: Authorization in: header security: - APIKey: []