Skip to content

Commit

Permalink
Update lib/codegen/fromJsonSchema/cto/jsonSchemaVisitor.js
Browse files Browse the repository at this point in the history
Co-authored-by: jonathan-casey <[email protected]>
Signed-off-by: Dan Selman <[email protected]>
  • Loading branch information
dselman and jonathan-casey authored May 7, 2024
1 parent bd71dd7 commit ea592e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codegen/fromJsonSchema/cto/jsonSchemaVisitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ class JsonSchemaVisitor {
if (ModelUtil.isPrivateSystemProperty(propertyName)) {
throw new Error(`${propertyName} is a reserved keyword and cannot be used as a property`);
}
if(ModelUtil.isSystemProperty(propertyName)) {
if (ModelUtil.isSystemProperty(propertyName)) {
return;
}

Expand Down

0 comments on commit ea592e0

Please sign in to comment.