Skip to content

Commit

Permalink
Rename Date to DateDto for TypeScript Clients (#3992) (#3998)
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-careerhub authored May 18, 2022
1 parent 4749251 commit 1000789
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ protected override string Generate(JsonSchema schema, string typeNameHint)
typeNameHint = "ErrorDto";
}

if (typeNameHint == "Date")
{
typeNameHint = "DateDto";
}

return base.Generate(schema, typeNameHint);
}
}
Expand Down

0 comments on commit 1000789

Please sign in to comment.