Skip to content
Discussion options

You must be logged in to vote

pydantic is baked into fastapi essentially, but definitely make use of v2 as that is the default version in fastapi these days.

To get consistent error messages like that, you can just reply on well defined schemas for your endpoint inputs

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@EdgyEdgemond
Comment options

@EdgyEdgemond
Comment options

@dineshbvadhia
Comment options

@EdgyEdgemond
Comment options

Answer selected by dineshbvadhia
@dineshbvadhia
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants