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 3658b6d commit 56eaef7Copy full SHA for 56eaef7
src/services/models/Schema.ts
@@ -96,6 +96,13 @@ export class SchemaModel {
96
97
if (options.showExtensions) {
98
this.extensions = extractExtensions(this.schema, options.showExtensions);
99
+
100
+ if (typeof this.schema.items === 'object') {
101
+ this.extensions = {
102
+ ...this.extensions,
103
+ ...extractExtensions(this.schema.items, options.showExtensions),
104
+ };
105
+ }
106
}
107
108
@@ -459,7 +466,6 @@ function buildFields(
459
466
refsStack,
460
467
);
461
468
});
462
-
463
469
if (options.sortPropsAlphabetically) {
464
470
fields = sortByField(fields, 'name');
465
471
0 commit comments