swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

Security scheme with apiKey in query parameter

Open darrylyeo opened this issue 2 years ago • 0 comments

Is there a way to pass an API key as a query parameter as in this example OpenAPI snippet?

{
  "openapi": "3.0.0",
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "in": "query",
        "name": "api_key",
      }
    },
  }
}

darrylyeo avatar Sep 02 '21 20:09 darrylyeo