Explorar o código

disable SwaggerUI response syntax highlight

dsehnal %!s(int64=4) %!d(string=hai) anos
pai
achega
cd3798b46f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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