update user-agent for Ruby

This commit is contained in:
wing328
2016-03-14 21:57:51 +08:00
parent df8d4fd8b8
commit e10c28596c
11 changed files with 67 additions and 78 deletions

View File

@@ -218,15 +218,15 @@ For valid response try integer IDs with value <= 5 or > 10. Other values w
require 'petstore'
Petstore.configure do |config|
# Configure API key authorization: test_api_key_query
config.api_key['test_api_key_query'] = "YOUR API KEY"
# Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to nil)
#config.api_key_prefix['test_api_key_query'] = "Token"
# Configure API key authorization: test_api_key_header
config.api_key['test_api_key_header'] = "YOUR API KEY"
# Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to nil)
#config.api_key_prefix['test_api_key_header'] = "Token"
# Configure API key authorization: test_api_key_query
config.api_key['test_api_key_query'] = "YOUR API KEY"
# Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to nil)
#config.api_key_prefix['test_api_key_query'] = "Token"
end
api = Petstore::StoreApi.new
@@ -254,7 +254,7 @@ Name | Type | Description | Notes
### Authorization
[test_api_key_query](../README.md#test_api_key_query), [test_api_key_header](../README.md#test_api_key_header)
[test_api_key_header](../README.md#test_api_key_header), [test_api_key_query](../README.md#test_api_key_query)
### HTTP reuqest headers