2015-06-26 09:15:14 +00:00
|
|
|
# Swagger common files
|
|
|
|
require 'petstore/swagger'
|
|
|
|
require 'petstore/swagger/configuration'
|
|
|
|
require 'petstore/swagger/api_error'
|
|
|
|
require 'petstore/swagger/request'
|
|
|
|
require 'petstore/swagger/response'
|
|
|
|
require 'petstore/swagger/version'
|
|
|
|
|
|
|
|
# Models
|
|
|
|
require 'petstore/models/base_object'
|
|
|
|
require 'petstore/models/user'
|
|
|
|
require 'petstore/models/category'
|
|
|
|
require 'petstore/models/pet'
|
|
|
|
require 'petstore/models/tag'
|
|
|
|
require 'petstore/models/order'
|
|
|
|
|
|
|
|
# APIs
|
|
|
|
require 'petstore/api/user_api'
|
|
|
|
require 'petstore/api/pet_api'
|
|
|
|
require 'petstore/api/store_api'
|
|
|
|
|
|
|
|
module Petstore
|
|
|
|
# Initialize the default configuration
|
2015-07-14 04:33:17 +00:00
|
|
|
Swagger.configuration = Swagger::Configuration.new
|
|
|
|
Swagger.configure { |config| }
|
2015-06-26 09:15:14 +00:00
|
|
|
end
|