Skip to content
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

Raise error when wrong controller action is provide in <model name>_doc file #179

Open
toshitapandey opened this issue Mar 25, 2019 · 0 comments

Comments

@toshitapandey
Copy link

toshitapandey commented Mar 25, 2019

Is it possible that I get an error when I enter the wrong controller action name in the _doc file in swagger_docs folder?

For e.g., if I have following office_doc.rb

image

And I do not have an index in offices_controller.rb, the rake task should raise an error for the same.

@toshitapandey toshitapandey changed the title Raise error when wrong controller action is provide in <model name>_doc file Raise error when wrong controller action/route name is provide in <model name>_doc file Mar 25, 2019
@toshitapandey toshitapandey changed the title Raise error when wrong controller action/route name is provide in <model name>_doc file Raise error when wrong controller action is provide in <model name>_doc file Mar 25, 2019
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

No branches or pull requests

1 participant