mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-24 14:56:41 +00:00
9 lines
217 B
Ruby
9 lines
217 B
Ruby
SwaggerRails.configure do |c|
|
|
|
|
# List the names and paths (relative to config/swagger) of Swagger
|
|
# documents you'd like to expose in your swagger-ui
|
|
c.swagger_docs = {
|
|
'API V1' => 'v1/swagger.json'
|
|
}
|
|
end
|