Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for hidden_cookie (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_param_include_in_schema.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    @app.get("/hidden_cookie")
    async def hidden_cookie(
        hidden_cookie: str | None = Cookie(default=None, include_in_schema=False),
    ):
        return {"hidden_cookie": hidden_cookie}
    
    
    @app.get("/hidden_header")
    async def hidden_header(
        hidden_header: str | None = Header(default=None, include_in_schema=False),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.6K bytes
    - Click Count (0)
Back to Top