diff --git a/src/services/models/Schema.ts b/src/services/models/Schema.ts index 44b04279e0..552775ad6f 100644 --- a/src/services/models/Schema.ts +++ b/src/services/models/Schema.ts @@ -96,6 +96,13 @@ export class SchemaModel { if (options.showExtensions) { this.extensions = extractExtensions(this.schema, options.showExtensions); + + if (typeof this.schema.items === 'object') { + this.extensions = { + ...this.extensions, + ...extractExtensions(this.schema.items, options.showExtensions), + }; + } } }