Skip to content

Missing header generation with compound security header. #104

@wRLSS

Description

@wRLSS

OpenAPI 3.0 supports usage of multiple API Keys.

components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY
    appId:
      type: apiKey
      in: header
      name: X-APP-ID
security:
  - apiKey: []
    appId:  []

However, X-APP-ID header is not properly appended to codesnippet during generation producing

curl --request POST \
  --url https://petstore.com/api/v1/pet/ \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions