[Ruby-client] Use secuirtyScheme Key for api_key (#19740)

* replace name by keyParamName in apiKey configuration

* update configuration generated in sample
This commit is contained in:
Maxime Vincent
2024-10-01 13:45:27 +02:00
committed by GitHub
parent d7ac1e4337
commit 2544fa2928
2 changed files with 3 additions and 3 deletions

View File

@@ -249,14 +249,14 @@ module XAuthIDAlias
type: 'api_key',
in: 'header',
key: 'X-Api-Key',
value: api_key_with_prefix('api_key')
value: api_key_with_prefix('X-Api-Key')
},
'api_key_query' =>
{
type: 'api_key',
in: 'query',
key: 'api_key',
value: api_key_with_prefix('api_key_query', 'api_key')
value: api_key_with_prefix('api_key', 'api_key')
},
}
end