Fix schema for timedelta as number, instead of str #325
Currently, the generated schema for
But by default, Pydantic will convert it to a
(Bug created by me in the JSON Schema compatibility PR).
This PR fixes that and makes the schema for
Related issue number
I didn't create one.
pydantic cares about performance, if there's any risk performance changed on this PR,
The text was updated successfully, but these errors were encountered:
@@ Coverage Diff @@ ## master #325 +/- ## ===================================== Coverage 100% 100% ===================================== Files 13 13 Lines 1771 1771 Branches 344 344 ===================================== Hits 1771 1771