set highlight threshold per #1184
This commit is contained in:
3
dist/swagger-ui.js
vendored
3
dist/swagger-ui.js
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user