Skip to content

Commit

Permalink
Handle single quote in properties names (#1574)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalilistic authored May 3, 2023
1 parent 94647c5 commit 2ed8a16
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public virtual string Generate(JsonSchemaProperty property)
{
return ConversionUtilities.ConvertToUpperCamelCase(property.Name
.Replace("\"", string.Empty)
.Replace("'", string.Empty)
.Replace("@", string.Empty)
.Replace("?", string.Empty)
.Replace("$", string.Empty)
Expand Down

0 comments on commit 2ed8a16

Please sign in to comment.