set highlight threshold per #1184

This commit is contained in:
Tony Tam
2015-05-08 14:45:19 -07:00
parent 9e70c95499
commit 261e1894e0
3 changed files with 7 additions and 1 deletions

3
dist/swagger-ui.js vendored
View File

@@ -20397,6 +20397,9 @@ window.SwaggerUi = Backbone.Router.extend({
// SwaggerUi accepts all the same options as SwaggerApi
initialize: function(options) {
options = options || {};
if(!options.highlightSizeThreshold) {
options.highlightSizeThreshold = 100000;
}
// Allow dom_id to be overridden
if (options.dom_id) {

File diff suppressed because one or more lines are too long

View File

@@ -13,6 +13,9 @@ window.SwaggerUi = Backbone.Router.extend({
// SwaggerUi accepts all the same options as SwaggerApi
initialize: function(options) {
options = options || {};
if(!options.highlightSizeThreshold) {
options.highlightSizeThreshold = 100000;
}
// Allow dom_id to be overridden
if (options.dom_id) {