Files
openapi-generator/samples/server-generator/sinatra/templates/my_app.mustache
2012-09-06 09:12:11 -07:00

12 lines
234 B
Plaintext

require './lib/swaggering'
# only need to extend if you want special configuration!
class MyApp < Swaggering
self.configure do |config|
config.api_version = '0.2'
end
end
{{#apis}}
require './lib/{{className}}.rb'
{{/apis}}