mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
Require 'in' property for path params + rename Adapter to DSL
This commit is contained in:
@@ -5,8 +5,8 @@ module SwaggerRails
|
||||
class InstallGenerator < Rails::Generators::Base
|
||||
source_root File.expand_path('../templates', __FILE__)
|
||||
|
||||
def add_swagger_json
|
||||
template('swagger.json', 'config/swagger/v1/swagger.json')
|
||||
def add_swagger_dir
|
||||
empty_directory('config/swagger/v1')
|
||||
end
|
||||
|
||||
def add_initializer
|
||||
|
||||
Reference in New Issue
Block a user