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:
João M. Martins
2021-12-08 22:52:25 +01:00
committed by GitHub
parent a3f180eb2b
commit dc4710b56c
3 changed files with 24 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
Always use `Enum` value as default in generated JSON schema.