Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieKimani1 committed Jan 16, 2024
1 parent 230a17b commit ad57d5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static IOpenApiAny GetSpecificOpenApiAny(IOpenApiAny openApiAny, OpenApiS
{
// More narrow type detection for explicit strings, only check types that are passed as strings
if (schema == null)
{
{
if (DateTimeOffset.TryParse(value, CultureInfo.InvariantCulture, DateTimeStyles.None, out var dateTimeValue))
{
// if the time component is exactly midnight(00:00:00) meaning no time has elapsed, return a date-only value
Expand Down

0 comments on commit ad57d5c

Please sign in to comment.