This repository has been archived by the owner. It is now read-only.

Using Weasel-Diesel for documentation only #15

prettynatty opened this Issue Jun 26, 2012 · 2 comments


None yet
3 participants


We love how it generates docs but we prefer to implement APIs on the other software stack than ruby / rails.
Is there a way of using Weasel-Diesel for api documentation but not for implementation? If I don't describe service.implementation block a command rake doc:services exits with an error DSL is missing the implementation block.


mattetti commented Jun 26, 2012

That's a good point, the rake generation task only exists in wd_sinatra and that's why you are saying the error about missing implementation block. The task could probably be ported over to WD itself and require a source path for the API descriptions and an output path for the documentation.
I don't quite have time for that at the moment, but patches are welcome if you want that done ASAP.

@raul raul referenced this issue in mattetti/wd-sinatra May 27, 2013


Time for a "core team"? #34

@ghost ghost assigned kamui Aug 27, 2013


kamui commented Aug 27, 2013

#30 closes this. To generate docs:

$ weasel_diesel generate_doc <path to ruby source files>

@kamui kamui closed this Aug 27, 2013

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.