swaggard
swaggard copied to clipboard
Document scoping - allow an array of controllers
controllers_path
is a string, do we have any alternative to support multiple controllers? For example I want to have list of controllers (which is not so easy to extract in a single regex string) to be documented and not all controllers in the app.
config.controllers_path = "#{Rails.root}/app/controllers/api/**/*.rb"
Hi, we could add include and exclude filters or even support path as an array also. I'm open to hearing what you think it would be a good option @cliren