From 0196d21cd63fbde85b94f6fe71afca61a95983e7 Mon Sep 17 00:00:00 2001 From: naporin0624 Date: Sat, 6 Jul 2024 03:01:54 +0000 Subject: [PATCH] chore(swagger-ui): syntaxHighlight: boolean --- packages/swagger-ui/src/swagger/renderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/swagger-ui/src/swagger/renderer.ts b/packages/swagger-ui/src/swagger/renderer.ts index 6ab963b51..dc8acdb04 100644 --- a/packages/swagger-ui/src/swagger/renderer.ts +++ b/packages/swagger-ui/src/swagger/renderer.ts @@ -29,7 +29,7 @@ export type DistSwaggerUIOptions = { displayOperationId?: boolean tagsSorter?: string onComplete?: string - syntaxHighlight?: false | { activated: boolean, theme: string[] }, + syntaxHighlight?: boolean | { activated: boolean, theme: string[] }, tryItOutEnabled?: boolean requestSnippetsEnabled?: boolean requestSnippets?: object