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 1afb427 commit 3ebd4a8Copy full SHA for 3ebd4a8
src/models/typeDefinition.ts
@@ -217,7 +217,7 @@ export class TypeDefinitionObjectProperty extends TypeDefinitionProperty {
217
const refName = this.getTypeNameFromRef(contract.$ref);
218
219
this.type = new TypeDefinitionPropertyTypeReference(refName);
220
- this.description = definitions[refName].description ?? "";
+ this.description = definitions[refName] ? definitions[refName].description ?? "" : "";
221
return;
222
}
223
0 commit comments