zally icon indicating copy to clipboard operation
zally copied to clipboard

Support api_key security scheme

Open Rajesh-Narayanappa87 opened this issue 2 years ago • 1 comments

Hi Team, We have spec file(OAS3) having apiKey param.. Example is below. Linter is complaining security issue though required apiKey details exist.. On checking, we found only OAUTH2 is supported. Is it possible to add support for apiKey Please?

security:
  - ApiKeyAuth: []
components:
  securitySchemes:
      ApiKeyAuth:
        type: apiKey
        name: api_key
        in: header

Rajesh-Narayanappa87 avatar Aug 05 '22 11:08 Rajesh-Narayanappa87

Since we do not support API Key Authorization in Zalando and it is not part of our API Guidelines, we have no need to implement this rule. However, we would be open, if you want to contribute this rule as part of a zally-ruleset-community under https://github.com/zalando/zally/tree/main/server.

tkrop avatar Dec 13 '22 08:12 tkrop