Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 151 of 151 for invalidated (0.05 sec)

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

    app = FastAPI()
    
    @app.get("/items/invalidnone", response_model=Union[Item, None])
    def get_invalid_none():
        return None
    ```
    
    This way the data will be correctly validated, you won't have an internal server error, and the documentation will also reflect that this *path operation* could return `None` (or `null` in JSON).
    
    ### Fixes
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top