pydantic model for endpoint args? #2333
-
I am looking to migrate to Starlette from FastAPI. Currently, my endpoints revolve around I am wondering how to do the migration, does Starlette support pydantic model schemas? Is the intended workflow to go from Starlette Aside: I see these other third party packages seems to make pydantic first class:
However, I am looking for non-third party, just curious about Starlette itself |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No.
On FastAPI, you should define the body you want in the signature function. |
Beta Was this translation helpful? Give feedback.
No.
On FastAPI, you should define the body you want in the signature function.