Skip to content

Commit 261e189

Browse files
committed
set highlight threshold per #1184
1 parent 9e70c95 commit 261e189

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

dist/swagger-ui.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20397,6 +20397,9 @@ window.SwaggerUi = Backbone.Router.extend({
2039720397
// SwaggerUi accepts all the same options as SwaggerApi
2039820398
initialize: function(options) {
2039920399
options = options || {};
20400+
if(!options.highlightSizeThreshold) {
20401+
options.highlightSizeThreshold = 100000;
20402+
}
2040020403

2040120404
// Allow dom_id to be overridden
2040220405
if (options.dom_id) {

0 commit comments

Comments
 (0)