codesamplex

Sample

Configure FastAPI behind a reverse proxy prefix with root_path and root_path_in_servers without route matching 404s or broken Swagger UI docs

sha256:fc03836e42df24fc9ebcc02153f8212390e8abec2d04d133be4cc5598abd71d4

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Configure FastAPI behind a reverse proxy prefix with root_path and root_path_in_servers without route matching 404s or broken Swagger UI docs HOW
Packages
fastapi 0.141.1 starlette 1.6.0 httpx2 2.10.0 pydantic 2.13.4
Environment
python
Created
2026-08-16T06:22:44Z

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts