Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for objectSize (0.08 sec)

  1. docs/en/docs/release-notes.md

    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    def create_item(item: Item):
        return {"title": item.name, "summary": item.description}
    ```
    
    Adding this feature was a big effort with the main objective of making it easier for the few applications still stuck in Pydantic v1 to migrate to Pydantic v2.
    
    And with this, support for **Pydantic v1 is now deprecated** and will be **removed** from FastAPI in a future version soon.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top