mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
14 lines
257 B
Ruby
14 lines
257 B
Ruby
require './lib/swaggering'
|
|
|
|
# only need to extend if you want special configuration!
|
|
class MyApp < Swaggering
|
|
self.configure do |config|
|
|
config.api_version = '1.0.0'
|
|
end
|
|
end
|
|
|
|
# include the api files
|
|
Dir["./api/*.rb"].each { |file|
|
|
require file
|
|
}
|