richhollis / swagger-docs

Generates swagger-ui json files for Rails APIs with a simple DSL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to skip some controllers while running the rake task?

ankitjaggi opened this issue · comments

I have 4 APIs, of which 3 need to be clubbed together and 1 needs to be separately documented. So I need 2 different api_docs.json files. Is there a way I could tell the rake task to skip a particular controller?

Sorry, there is no support for that. You might be able to generate the documents and then in a post step process them in some way that allows you to separate them out.

@richhollis Is this feature available now?