mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +00:00
Renames gems to open_api-rswag-*
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user