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 f365ecc commit 5506083Copy full SHA for 5506083
src/PropertyShapeDocument.js
@@ -411,10 +411,10 @@ export class PropertyShapeDocument extends PropertyDocumentMixin(LitElement) {
411
}
412
shape = this._resolve(shape);
413
if (this._hasType(shape, this.ns.aml.vocabularies.apiContract.Parameter)) {
414
- const required = Boolean(this._getValue(
+ const required = this._getValue(
415
shape,
416
this.ns.aml.vocabularies.apiContract.required
417
- ))
+ )
418
return this._toBoolean(required);
419
420
const data = this._getValue(shape, this.ns.w3.shacl.minCount);
0 commit comments