rswag/spec/dummy/config/initializers/swagger_rails.rb
2016-02-03 23:41:31 -08:00

10 lines
241 B
Ruby

SwaggerRails.configure do |c|
# List the names and paths of Swagger
# documents you'd like to expose in your swagger-ui
c.swagger_docs = {
'API V1' => '/swagger/v1/swagger.json',
'API V2' => '/swagger/v2/swagger.json'
}
end