From 1dcc16fcfddb4f21f30340e8c847077aea39dca8 Mon Sep 17 00:00:00 2001 From: matteo-cristino Date: Tue, 17 Dec 2024 09:54:12 +0100 Subject: [PATCH] fix: correctly render comments on api description --- src/openapi.ts | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/src/openapi.ts b/src/openapi.ts index c882db9..fc59783 100644 --- a/src/openapi.ts +++ b/src/openapi.ts @@ -146,18 +146,34 @@ To add new endpoints you should add new zencode contracts in the directory. tags: [] }; +const openapiCss = ` + +`; + export const openapiTemplate = ` - - - - noˑcodeˑroom documentation - - - - - - + + + + noˑcodeˑroom documentation + + + ${openapiCss} + + + + `;