swaggard icon indicating copy to clipboard operation
swaggard copied to clipboard

Document scoping - allow an array of controllers

Open cliren opened this issue 8 years ago • 1 comments

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"

cliren avatar Oct 20 '16 16:10 cliren

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

adrian-gomez avatar Nov 29 '16 16:11 adrian-gomez