From 71a7d9fa15c353b73b1fa191f7ebb300afc4c263 Mon Sep 17 00:00:00 2001 From: Hage Yaapa Date: Thu, 1 Oct 2015 12:38:27 +0530 Subject: [PATCH] disable Swagger validation badge --- public/lib/loadSwaggerUI.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/lib/loadSwaggerUI.js b/public/lib/loadSwaggerUI.js index 0b24cd5..2a1a466 100644 --- a/public/lib/loadSwaggerUI.js +++ b/public/lib/loadSwaggerUI.js @@ -18,6 +18,7 @@ $(function() { function loadSwaggerUi(config) { var methodOrder = ['get', 'head', 'options', 'put', 'post', 'delete']; window.swaggerUi = new SwaggerUi({ + validatorUrl: null, url: config.url || '/swagger/resources', apiKey: '', dom_id: 'swagger-ui-container',