forked from loafle/openapi-generator-original
Update API client initialization in Ruby test
This commit is contained in:
parent
fc7cffbab7
commit
7c60e2097f
@ -36,11 +36,7 @@ end
|
||||
# help
|
||||
#end
|
||||
|
||||
API_CLIENT = Petstore::ApiClient.new do |config|
|
||||
config.api_key['api_key'] = 'special-key'
|
||||
config.host = 'petstore.swagger.io'
|
||||
config.base_path = '/v2'
|
||||
end
|
||||
API_CLIENT = Petstore::ApiClient.new
|
||||
|
||||
# always delete and then re-create the pet object with 10002
|
||||
def prepare_pet(pet_api)
|
||||
|
Loading…
x
Reference in New Issue
Block a user