Skip to content

Commit b20677a

Browse files
committed
Removed old comment, added new
1 parent 5c8c498 commit b20677a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Microsoft.OpenApi.Readers/ParseNodes/ValueNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,13 @@ public override IOpenApiAny CreateAny()
6161

6262
if (Double.TryParse(value, out var dblValue))
6363
{
64-
return new OpenApiDouble(dblValue);
64+
return new OpenApiDouble(dblValue); // Note(darrmi): This may be better as decimal. Further investigation required.
6565
}
6666

6767
if (DateTime.TryParse(value, out var datetimeValue))
6868
{
6969
return new OpenApiDateTime(datetimeValue);
7070
}
71-
// TODO: add more codes to identify each primitive types
7271

7372

7473
// if we can't identify the type of value, return it as string.

0 commit comments

Comments
 (0)