Browse Source

disable SwaggerUI response syntax highlight

dsehnal 4 years ago
parent
commit
cd3798b46f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/servers/common/swagger-ui/indexTemplate.ts

+ 1 - 0
src/servers/common/swagger-ui/indexTemplate.ts

@@ -53,6 +53,7 @@ export const indexTemplate = `<!DOCTYPE html>
                         SwaggerUIBundle.presets.apis,
                         SwaggerUIStandalonePreset
                     ],
+                    syntaxHighlight: { activated: false, theme: 'agate' },
                     plugins: [
                         SwaggerUIBundle.plugins.DownloadUrl,
                         HidePlugin