Skip to content
Snippets Groups Projects
Commit f2c39fbd authored by Christian Pointner's avatar Christian Pointner
Browse files

added Todo for API documentation

parent a6eeae4b
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,10 @@ func InstallHandler(r *mux.Router, st *store.Store, im *importer.Importer, infoL
// Index
indexHandler := make(handlers.MethodHandler)
indexHandler["GET"] = api.ListEndpoints() // TODO: fix this
// TODO: do api docs based on:
// - https://github.com/adams-sarah/test2doc
// - https://github.com/bukalapak/snowboard
indexHandler["GET"] = api.ListEndpoints()
r.Handle("/", indexHandler)
r.Walk(func(route *mux.Route, router *mux.Router, ancestors []*mux.Route) error {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment