Skip to content

Conversation

@Code-Farmer-Ming
Copy link

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'
——————————————————
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants