From ece08fdd847825d8804e970472b50ca1aaa55419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sat, 28 Dec 2024 23:09:57 +0100 Subject: [PATCH] fix validation error --- src/c3nav/routing/api/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/routing/api/routing.py b/src/c3nav/routing/api/routing.py index 91075ed4..6d976a2c 100644 --- a/src/c3nav/routing/api/routing.py +++ b/src/c3nav/routing/api/routing.py @@ -140,7 +140,7 @@ class RouteLevelSchema(DjangoModelSchema): ) class RouteItemSchema(BaseSchema): - id: PositiveInt + id: Optional[PositiveInt] coordinates: Coordinates3D waytype: Union[ Annotated[ShortWayTypeSchema, APIField(title="waytype", descripiton="waytype used for this segment")],