Open Code-Farmer-Ming opened 8 years ago
When just setting base_path,
Swagger::Docs::Config.register_apis({ '1.0' => { base_path: 'http://localhost:3000' } })
$: rails swagger:docs —————————————————— TypeError: no implicit conversion of nil into String ……/lib/swagger/docs/generator.rb:243:in `create_output_paths' ——————————————————
When just setting base_path,
Swagger::Docs::Config.register_apis({ '1.0' => { base_path: 'http://localhost:3000' } })
$: rails swagger:docs —————————————————— TypeError: no implicit conversion of nil into String ……/lib/swagger/docs/generator.rb:243:in `create_output_paths' ——————————————————