最近写的swagger文档,要加jwt授权,所以几经google终于搞定了,简简单单几行配置如下:
securityDefinitions: APIKey: type: apiKey name: Authorization in: header security: - APIKey: []
最近写的swagger文档,要加jwt授权,所以几经google终于搞定了,简简单单几行配置如下:
securityDefinitions: APIKey: type: apiKey name: Authorization in: header security: - APIKey: []
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。