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 227e582 commit 869cd93Copy full SHA for 869cd93
src/ApiTypeDocument.js
@@ -502,17 +502,7 @@ export class ApiTypeDocument extends PropertyDocumentMixin(LitElement) {
502
[item] = item;
503
}
504
if (this._hasType(item, this.ns.aml.vocabularies.shapes.ArrayShape)) {
505
- item = this._resolve(item);
506
- const itemsKey = this._getAmfKey(this.ns.aml.vocabularies.shapes.items);
507
- const items = this._ensureArray(item[itemsKey]);
508
- if (items && items.length === 1) {
509
- let result = items[0];
510
- if (Array.isArray(result)) {
511
- [result] = result;
512
- }
513
- result = this._resolve(result);
514
- return result;
515
+ return this._resolve(item);
516
517
if (Array.isArray(item)) {
518
0 commit comments