Replies: 3 comments 1 reply
This comment was marked as spam.
This comment was marked as spam.
-
|
Looks somewhat similar to #14252 I will investigate it later when I have time |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@garg-khushi note that in the OP the models being included in the openapi spec are exactly those that have Please also note that this used to work with Fastapi 0.118 and stopped working with Fastapi 0.119. The issues is unrelated to pydantic as in the OP the same pydantic version was used. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
NestedTestModel and AnotherNestedModel appear in openapi.yml file even there are used with SkipJsonSchema under another model. This is not the case in 0.118.0.
openapi file in 0.128.0:
openapi file with 0.118.0
Operating System
macOS
Operating System Details
No response
FastAPI Version
0.128.0
Pydantic Version
2.12.5
Python Version
3.13.1
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions