William Cheng c60010c965
Update default value for Perl, Ruby, ROR generators (#265)
* rename perl genreator default

* update ruby sinatra default

* rename ror default value
2018-04-29 20:37:12 +08:00

14 lines
257 B
Ruby

require './lib/openapiing'
# only need to extend if you want special configuration!
class MyApp < OpenAPIing
self.configure do |config|
config.api_version = '1.0.0'
end
end
# include the api files
Dir["./api/*.rb"].each { |file|
require file
}