warp: a web framework for Rusthttp://seanmonstar.com/post/176530511587/warp …
-
-
Replying to @seanmonstar
Have you given service documentation any thought? I reckon it would be really cool if we could somehow extract all path definitions and write them to a man page / http://README.md for always up to date docs :D
1 reply 0 retweets 1 like -
Replying to @yoshuawuyts
Do you mean like auto API docs generation, along the lines of swagger, or something else entirely?
1 reply 0 retweets 0 likes -
Replying to @seanmonstar
Yeah, Swagger could def be a target! But i was thinking of something slightly lower level for warp. So we can take that output and convert it to {man,readme,swagger} ourselves :D
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
So, I think it could be possible to add method to the Filter trait that returns a sort of "debug" type explaining what sort of action it does, and chains could combine them. That could allow what you're describing, and also give a nice Debug output too...
1 reply 0 retweets 1 like
Ohh, that sounds really nice!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.