I spent the whole night looking for a stone to create API documentation from my sinatra routes. I must be able to point out using inline comments.
I found https://rubygems.org/gems/sinatra-api-docs and https://rubygems.org/gems/sinatra-croon
but both just don't work with my setup and are outdated too.
Another option was a yard with some sinatra plugin, but when creating documents it does not generate a specific REST API layout.
Does anyone have tools they know about?
All the information I want to indicate for each route:
Object: Groups
Route: POST / create
Params: group name
Output:
{ "name": "group", "members": [] }
thanks
Max
source share