Renames gems to open_api-rswag-*

This commit is contained in:
Jay Danielian
2019-08-01 08:37:05 -04:00
parent 13f7007b2f
commit 475929e9aa
20 changed files with 133 additions and 125 deletions

View File

@@ -3,7 +3,7 @@ require 'rails/generators'
module Rswag
module Ui
class CustomGenerator < Rails::Generators::Base
source_root File.expand_path('../../../../../../lib/rswag/ui', __FILE__)
source_root File.expand_path('../../../../../../lib/open_api/rswag/ui', __FILE__)
def add_custom_index
copy_file('index.erb', 'app/views/rswag/ui/home/index.html.erb')

View File

@@ -1,4 +1,4 @@
Rswag::Ui.configure do |c|
OpenApi::Rswag::Ui.configure do |c|
# List the Swagger endpoints that you want to be documented through the swagger-ui
# The first parameter is the path (absolute or relative to the UI host) to the corresponding