=begin
#OpenAPI Petstore

#This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.

The version of the OpenAPI document: 1.0.0

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.0.0

=end

# Common files
require 'petstore_client/api_client'
require 'petstore_client/api_error'
require 'petstore_client/version'
require 'petstore_client/configuration'

# Models
require 'petstore_client/models/api_response'
require 'petstore_client/models/category'
require 'petstore_client/models/order'
require 'petstore_client/models/pet'
require 'petstore_client/models/tag'
require 'petstore_client/models/user'

# APIs
require 'petstore_client/api/pet_api'
require 'petstore_client/api/store_api'
require 'petstore_client/api/user_api'

module PetstoreClient
  class << self
    # Customize default settings for the SDK using block.
    #   PetstoreClient.configure do |config|
    #     config.username = "xxx"
    #     config.password = "xxx"
    #   end
    # If no block given, return the default Configuration object.
    def configure
      if block_given?
        yield(Configuration.default)
      else
        Configuration.default
      end
    end
  end
end
