When you’re calling registerDocs function, we add config in Registry. You can register docs in any part of application. This config is written with this standard in mind. This registry contains all actions that gathered inside API. To retrieve these docs in open api format, you can call docsService.getDocs function.

For advanced usage cases, you can reference to this documentation