I have been looking all night for a gem to generate an API documentation from my sinatra routes. I should be able to specify with inline comments.
I have found https://rubygems.org/gems/sinatra-api-docs& https://rubygems.org/gems/sinatra-croon
but both just don't seem to work with my setup and are outdated too..
The other option was yard with some sinatra plugin, but that does not generate REST API specific layout when generating the docs.
Does anyone have any tools they know about?
All the information i want to reference for each route:
Object: Groups
Route: POST /create
Params: <name> Name of the group
Output:
{"name": "group","members": []}