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")],