Open huyfififi opened 1 month ago
It's possible to send negative values to this API endpoint, and it should be prohibited.
https://docs.pydantic.dev/latest/concepts/fields/#numeric-constraints
Please add test cases to confirm that clients get validation errors, and please feel free to reach out to me when you are stuck.
It's possible to send negative values to this API endpoint, and it should be prohibited.
https://docs.pydantic.dev/latest/concepts/fields/#numeric-constraints
Please add test cases to confirm that clients get validation errors, and please feel free to reach out to me when you are stuck.