Skip to content

Commit

Permalink
fix(#7): map openapi number as enfusion float
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRunyx committed May 29, 2023
1 parent dedd02b commit ed6b4cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CodeGenerator/DataTypes/EnfusionType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ private string GetName()
return _schema.Type switch
{
"integer" => GetIntegerTypeName(),
"number" => "float",
"object" => "class",
"array" => GetArrayTypeName(),
_ => _schema.Type
Expand Down

0 comments on commit ed6b4cb

Please sign in to comment.