We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96fb7ce commit 12f79f0Copy full SHA for 12f79f0
src/services/models/Schema.ts
@@ -139,6 +139,9 @@ export class SchemaModel {
139
this.displayType = this.items.displayType;
140
this.typePrefix = this.items.typePrefix + 'Array of ';
141
this.isPrimitive = this.items.isPrimitive;
142
+ if (this.example === undefined && this.items.example !== undefined) {
143
+ this.example = [this.items.example];
144
+ }
145
if (this.items.isPrimitive) {
146
this.enum = this.items.enum;
147
}
0 commit comments