...and add support to generate (very primitive) REST API doc listing.
This is only a stopgap solution.
What's nicer would be to have support for generation of swagger/openapi
spec from the code comments and annotations. It's a tedious task to add
them to existing APIs and shall be done later.
See: https://goswagger.io/generate/spec.html
Signed-off-by: Prashanth Pai <ppai@redhat.com>