File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/main/resources/handlebars/htmlDocs2 Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ var JSONSchemaView = (function () {
141
141
this.isPrimitive = ! this.isAny && ! this.isArray && ! this.isObject;
142
142
143
143
//
144
- this.showToggle = this.schema.description || this.schema.title || this.isPrimitive && (this.schema.minimum || this.schema.maximum || this.schema.exclusiveMinimum || this.schema.exclusiveMaximum);
144
+ this.showToggle = this.schema.description || this.schema.title || this.isPrimitive && (this.schema.minimum || this.schema.maximum || this.schema.exclusiveMinimum || this.schema.exclusiveMaximum || this.schema.maxLength || this.schema.minLength || this.schema.pattern || this.schema.format );
145
145
146
146
// populate isRequired property down to properties
147
147
if (this.schema && Array.isArray(this.schema.required)) {
You can’t perform that action at this time.
0 commit comments