Skip to content

Commit

Permalink
Fix timespans in openapi generator
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Oct 18, 2024
1 parent 559e455 commit 89ff165
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ string GetResponseType(OpenApiOperation op)
"uuid" => "System.Guid",
"date" => "System.DateOnly",
"time" => "System.TimeOnly",
"date-span" => "System.TimeSpan",
// "binary" => "byte[]",
// "file" => "",
_ => "string"
Expand Down

0 comments on commit 89ff165

Please sign in to comment.