mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +00:00
9 lines
197 B
Ruby
9 lines
197 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'
|
|
}
|
|
end
|