mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-04 06:30:52 +00:00
Update API client initialization in Ruby test
This commit is contained in:
parent
fc7cffbab7
commit
7c60e2097f
@ -36,11 +36,7 @@ end
|
|||||||
# help
|
# help
|
||||||
#end
|
#end
|
||||||
|
|
||||||
API_CLIENT = Petstore::ApiClient.new do |config|
|
API_CLIENT = Petstore::ApiClient.new
|
||||||
config.api_key['api_key'] = 'special-key'
|
|
||||||
config.host = 'petstore.swagger.io'
|
|
||||||
config.base_path = '/v2'
|
|
||||||
end
|
|
||||||
|
|
||||||
# always delete and then re-create the pet object with 10002
|
# always delete and then re-create the pet object with 10002
|
||||||
def prepare_pet(pet_api)
|
def prepare_pet(pet_api)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user