### Privileged issue - [X] I'm @tiangolo or he asked me directly to create an issue here. ### Issue Content Those lines need to be updated: https://github.com/tiangolo/fastapi/blob/36c26677682c4245183912e00fc057c05cc6cf7a/fastapi/openapi/utils.py#L36-L61 They reflect how it was before 0.100.0, but with Pydantic V2, that's no longer true.