mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
Honor basePath, output tags & other cleanup
This commit is contained in:
@@ -3,7 +3,7 @@ module SwaggerRails
|
||||
|
||||
def index
|
||||
@discovery_paths = Hash[
|
||||
SwaggerRails.swagger_docs.map do |path, doc|
|
||||
SwaggerRails.config.swagger_docs.map do |path, doc|
|
||||
[ "#{root_path}#{path}", doc[:info][:title] ]
|
||||
end
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user