fix validation error
This commit is contained in:
parent
baf185228d
commit
ece08fdd84
1 changed files with 1 additions and 1 deletions
|
@ -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")],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue