fix_ruby_documentation_apikey_name (#19742)

This commit is contained in:
Maxime Vincent
2024-10-01 16:10:54 +02:00
committed by GitHub
parent 2544fa2928
commit c6eb9e0e09
4 changed files with 23 additions and 23 deletions

View File

@@ -60,14 +60,14 @@ require 'x_auth_id_alias'
# Setup authorization
XAuthIDAlias.configure do |config|
# Configure API key authorization: api_key
config.api_key['X-Api-Key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['X-Api-Key'] = 'Bearer'
# Configure API key authorization: api_key_query
config.api_key['api_key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['api_key'] = 'Bearer'
# Configure API key authorization: api_key_query
config.api_key['api_key_query'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['api_key_query'] = 'Bearer'
end
api_instance = XAuthIDAlias::UsageApi.new

View File

@@ -26,14 +26,14 @@ require 'x_auth_id_alias'
# setup authorization
XAuthIDAlias.configure do |config|
# Configure API key authorization: api_key
config.api_key['X-Api-Key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['X-Api-Key'] = 'Bearer'
# Configure API key authorization: api_key_query
config.api_key['api_key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['api_key'] = 'Bearer'
# Configure API key authorization: api_key_query
config.api_key['api_key_query'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['api_key_query'] = 'Bearer'
end
api_instance = XAuthIDAlias::UsageApi.new
@@ -99,14 +99,14 @@ require 'x_auth_id_alias'
# setup authorization
XAuthIDAlias.configure do |config|
# Configure API key authorization: api_key
config.api_key['X-Api-Key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['X-Api-Key'] = 'Bearer'
# Configure API key authorization: api_key_query
config.api_key['api_key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['api_key'] = 'Bearer'
# Configure API key authorization: api_key_query
config.api_key['api_key_query'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['api_key_query'] = 'Bearer'
end
api_instance = XAuthIDAlias::UsageApi.new
@@ -172,9 +172,9 @@ require 'x_auth_id_alias'
# setup authorization
XAuthIDAlias.configure do |config|
# Configure API key authorization: api_key
config.api_key['api_key'] = 'YOUR API KEY'
config.api_key['X-Api-Key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['api_key'] = 'Bearer'
# config.api_key_prefix['X-Api-Key'] = 'Bearer'
end
api_instance = XAuthIDAlias::UsageApi.new
@@ -240,9 +240,9 @@ require 'x_auth_id_alias'
# setup authorization
XAuthIDAlias.configure do |config|
# Configure API key authorization: api_key_query
config.api_key['api_key_query'] = 'YOUR API KEY'
config.api_key['api_key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['api_key_query'] = 'Bearer'
# config.api_key_prefix['api_key'] = 'Bearer'
end
api_instance = XAuthIDAlias::UsageApi.new