FastAPI Documentation, Sebastián Ramírez, 2024 - Covers FastAPI's integration with Pydantic for automatic data validation, serialization, and documentation generation, particularly for nested request and response models.
Pydantic Documentation, Samuel Colvin and Contributors, 2024 - Provides comprehensive guidance on defining Pydantic models, including nesting, field validation, and data structuring, which is foundational for FastAPI applications.
Building Data Science Applications with FastAPI, François Voron, 2021 (Packt Publishing) - Offers practical examples and best practices for using FastAPI with Pydantic for data science and machine learning applications, including structuring complex data.