View example in swagger ui #10211
Replies: 2 comments
-
|
I think this is more of a https://fastapi.tiangolo.com/tutorial/schema-extra-example/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Initial code works well in current version (fastapi==0.103.1, pydantic==2.3.0) |
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
Finally I upgrade all my apis to fastapi 0.103.1 with pydantic v2
I use
openapi examplesand I have similar swagger ui except in schema where example dont appear.v0.98.0

v0.103.1

I see all the examples but in the
openapi.json, but in the swagger ui not, I miss some parameter ?Operating System
Windows, macOS
Operating System Details
No response
FastAPI Version
0.103.1
Pydantic Version
2.3.0
Python Version
3.11
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions