Open maurerle opened 3 weeks ago
Supersedes #9873 which removes the generation of a AnyOf type None when using | None in method signatures, introduced through pydantic v2.
| None
Has tests fixed in contrast to #9873 and is rebased onto latest master
Closes #9709
Closes discussions: https://github.com/tiangolo/fastapi/discussions/10836 https://github.com/tiangolo/fastapi/discussions/10481
Supersedes #9873 which removes the generation of a AnyOf type None when using
| None
in method signatures, introduced through pydantic v2.Has tests fixed in contrast to #9873 and is rebased onto latest master
Closes #9709
Closes discussions: https://github.com/tiangolo/fastapi/discussions/10836 https://github.com/tiangolo/fastapi/discussions/10481