mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
Replacing encode_default instance check with strict type check (#3197)
* Replacing encode_default instance check with strict type check * Adding change notes * Changing to dictionary indexing in tests * Adding explicit Enum check and returning its value
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Always use `Enum` value as default in generated JSON schema.
|
||||
Reference in New Issue
Block a user