Skip to content

Glossary: Building APIs with FastAPI

Validation

Also written: validate, validates

Checking data against rules, converting where safe, so the text `"18"` becomes `18.0` and `"twelve"` is refused. Failures produce a 422 listing every problem.

Where the book teaches it

Related terms

PydanticHTTP status codes