Add documentation annotations of the rest api and also export to docbook, pdf,html