Skip to content

Commit

Permalink
Update CSharpPropertyNameGenerator.cs (#1591)
Browse files Browse the repository at this point in the history
I had an exclamation mark in one of my properties.

Co-authored-by: Rico Suter <mail@rsuter.com>
  • Loading branch information
SebastianStehle and RicoSuter authored Sep 26, 2023
1 parent 418bff5 commit e64b2f3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public virtual string Generate(JsonSchemaProperty property)
.Replace("'", string.Empty)
.Replace("@", string.Empty)
.Replace("?", string.Empty)
.Replace("!", string.Empty)
.Replace("$", string.Empty)
.Replace("[", string.Empty)
.Replace("]", string.Empty)
Expand Down

0 comments on commit e64b2f3

Please sign in to comment.