rswag/spec/dummy/config/initializers/swagger_rails.rb
2016-04-06 09:19:41 -07:00

13 lines
241 B
Ruby

SwaggerRails.configure do |c|
# Define the swagger documents you'd like to expose and provide global metadata
c.swagger_doc 'v1/swagger.json' do
{
info: {
title: 'API V1',
version: 'v1'
}
}
end
end