Honor basePath, output tags & other cleanup

This commit is contained in:
richie
2016-05-13 00:03:23 -07:00
parent 452917e0d9
commit 9a327e84cf
18 changed files with 190 additions and 91 deletions

View File

@@ -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
]