Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
You will learn more about adding extra information later in the docs, when learning to declare examples.
+!!! warning
+ Extra keys passed to `Field` will also be present in the resulting OpenAPI schema for your application.
+ As these keys may not necessarily be part of the OpenAPI specification, some OpenAPI tools, for example [the OpenAPI validator](https://validator.swagger.io/), may not work with your generated schema.
+
## Recap
You can use Pydantic's `Field` to declare extra validations and metadata for model attributes.