2016-01-31 09:08:47 +00:00
= begin
Swagger Petstore
This is a sample server Petstore server . You can find out more about Swagger at < a href = \ " http://swagger.io \" >http://swagger.io</a> or on irc.freenode.net, # swagger. For this sample, you can use the api key \" special-key \" to test the authorization filters
OpenAPI spec version : 1 . 0 . 0
Contact : apiteam @swagger . io
Generated by : https : / / github . com / swagger - api / swagger - codegen . git
License : Apache 2 . 0
http : / / www . apache . org / licenses / LICENSE - 2 . 0 . html
Terms of Service : http : / /s wagger . io / terms /
= end
2015-07-22 07:39:48 +00:00
# Common files
require 'petstore/api_client'
require 'petstore/api_error'
require 'petstore/version'
2015-08-14 08:19:43 +00:00
require 'petstore/configuration'
2015-06-26 09:15:14 +00:00
# Models
require 'petstore/models/category'
2016-03-03 12:36:15 +00:00
require 'petstore/models/inline_response_200'
2016-03-09 09:18:15 +00:00
require 'petstore/models/model_return'
require 'petstore/models/order'
2016-03-03 12:36:15 +00:00
require 'petstore/models/pet'
2016-03-09 09:18:15 +00:00
require 'petstore/models/special_model_name'
require 'petstore/models/tag'
require 'petstore/models/user'
2015-06-26 09:15:14 +00:00
# APIs
2016-03-03 12:36:15 +00:00
require 'petstore/api/pet_api'
2016-03-09 09:18:15 +00:00
require 'petstore/api/store_api'
require 'petstore/api/user_api'
2015-06-26 09:15:14 +00:00
module Petstore
2015-08-14 08:19:43 +00:00
class << self
2015-12-10 07:25:07 +00:00
# Customize default settings for the SDK using block.
# Petstore.configure do |config|
# config.username = "xxx"
# config.password = "xxx"
# end
# If no block given, return the default Configuration object.
2015-08-14 08:19:43 +00:00
def configure
if block_given?
2015-12-10 07:25:07 +00:00
yield ( Configuration . default )
2015-08-14 08:19:43 +00:00
else
2015-12-10 07:25:07 +00:00
Configuration . default
2015-08-14 08:19:43 +00:00
end
end
end
2015-06-26 09:15:14 +00:00
end