Skip to content

Commit

Permalink
set highlight threshold per swagger-api#1184
Browse files Browse the repository at this point in the history
  • Loading branch information
fehguy committed May 8, 2015
1 parent dd27e96 commit 16256af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions swagger-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading

0 comments on commit 16256af

Please sign in to comment.