disable Swagger validation badge

This commit is contained in:
Hage Yaapa 2015-10-01 12:38:27 +05:30
parent 0ec7e52711
commit 71a7d9fa15
1 changed files with 1 additions and 0 deletions

View File

@ -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',