Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for mixed_outer_post (0.15 seconds)

  1. tests/test_strict_content_type_nested.py

    app_mixed = FastAPI(strict_content_type=True)
    mixed_outer = APIRouter(prefix="/outer", strict_content_type=False)
    mixed_inner = APIRouter(prefix="/inner", strict_content_type=True)
    
    
    @mixed_outer.post("/items/")
    async def mixed_outer_post(data: dict):
        return data
    
    
    @mixed_inner.post("/items/")
    async def mixed_inner_post(data: dict):
        return data
    
    
    mixed_outer.include_router(mixed_inner)
    app_mixed.include_router(mixed_outer)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top