-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
klass.methods doesn't include :swagger_config #147
Comments
I'm having the same error. The problem is that As a workaround, adding a line before that call, setting the base controller, solves the problem:
|
I have this same problem |
I found two ways to solve this:
include Swagger::Docs::ImpotentMethods
# Swagger::Docs::Config.register_apis({})
class Swagger::Docs::Config
def self.base_api_controller
ActionController::API
end
end Or adding at the top of Swagger::Docs::Config.base_api_controller = ActionController::API
include Swagger::Docs::ImpotentMethods |
Same here! Workarounds are not working with Rails 5 using an ActionController::API. |
I am experiencing the identical problem as #104 (which is closed)
I am hoping to get some help on config.
My swagger_docs.rb initialization is
The text was updated successfully, but these errors were encountered: