I have a controller Foo which has endpoints that are bound to API routes. 
Something like:

get 'baz/bar' => 'Foo#bar'

How do I document such APIs with custom routes using swagger? I noticed the 
:resource_path attribute but I don't know if I can apply it here, and how.

Please note that I also have APIs on standard routes being served from this 
controller (e.g. show, index, etc.)

Arindam

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to