While the configuration
documentation contains all available options in detail, this page shows them in cooperation to provide different examples on how to display pydantic models and settings.
This example shows the default out-of-the-box configuration of autodoc_pydantic. In contrast, it also shows how standard sphinx autodoc displays the same code.
autodoc pydantic
autodoc sphinx
example code
target.example_setting