feat(OpenApi): surface document generation in TerminalLogger (#66922)