Skip to content

Commit b4c1c00

Browse files
committed
[DOP-22034] Disable X-REQUEST-ID validation warnings
1 parent ab65381 commit b4c1c00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data_rentgen/server/middlewares/request_id.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def apply_request_id_middleware(app: FastAPI, settings: RequestIDSettings) -> Fa
1515
app.add_middleware(
1616
CorrelationIdMiddleware,
1717
generator=lambda: uuid7().hex,
18+
validator=None,
1819
**settings.model_dump(exclude={"enabled"}),
1920
)
2021
return app

0 commit comments

Comments
 (0)