VividCortex / siesta

Composable framework for writing HTTP handlers in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add method to retrieve route usage details

Preetam opened this issue · comments

We require a usage string for routes, but we don't actually use it. We should store this information in the Service struct. Let's also add a method to retrieve the usage information for routes, which would just include the usage description. Users can use this with the per-route usage generation technique to create self-documenting APIs.

Closed via #50.