Describes API key authentication passed via a header or query parameter.
| Property | Type | Description |
|---|---|---|
| in | String | The location of the API key. Must be either "header" or "query". |
| name | String | The name of the header or query parameter (e.g., "X-Api-Key"). |
| INHERITED FROM Security | ||
| type | String | The global security type of the API. Must be one of: httpBasic, httpBearer, apiKey, or oauth2. |