Skip to content

Commit ec89a87

Browse files
committed
title: EdgedcurvePoint bc duplication
1 parent bccfd74 commit ec89a87

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

opengeodeweb_back_schemas.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"points": {
6060
"type": "array",
6161
"items": {
62+
"title": "EdgedCurvePoint",
6263
"type": "object",
6364
"properties": {
6465
"x": {
@@ -101,6 +102,7 @@
101102
"additionalProperties": false
102103
}
103104
},
105+
"models": {},
104106
"vertex_attribute_names": {
105107
"$id": "opengeodeweb_back/vertex_attribute_names",
106108
"route": "/vertex_attribute_names",

src/opengeodeweb_back/routes/create/schemas/edged_curve.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"points": {
1111
"type": "array",
1212
"items": {
13+
"title": "EdgedCurvePoint",
1314
"type": "object",
1415
"properties": {
1516
"x": { "type": "number" },

src/opengeodeweb_back/routes/create/schemas/edged_curve.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
@dataclass
7-
class Point(DataClassJsonMixin):
7+
class EdgedCurvePoint(DataClassJsonMixin):
88
def __post_init__(self) -> None:
99
print(self, flush=True)
1010

@@ -20,4 +20,4 @@ def __post_init__(self) -> None:
2020

2121
edges: List[List[int]]
2222
name: str
23-
points: List[Point]
23+
points: List[EdgedCurvePoint]

0 commit comments

Comments
 (0)