added RegisterDocumentationEndpoint
added documentation generation