Skip to content

Commit f91d8e6

Browse files
Apply prepare changes
1 parent d068a01 commit f91d8e6

3 files changed

Lines changed: 5 additions & 88 deletions

File tree

opengeodeweb_back_schemas.json

Lines changed: 3 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,9 @@
11
{
22
"opengeodeweb_back": {
33
"create": {
4-
"create_voi": {
5-
"$id": "opengeodeweb_back/create/create_voi",
6-
"route": "/create_voi",
7-
"methods": [
8-
"POST"
9-
],
10-
"type": "object",
11-
"properties": {
12-
"name": {
13-
"type": "string",
14-
"description": "Name of the VOI"
15-
},
16-
"aoi_id": {
17-
"type": "string",
18-
"description": "ID of the corresponding AOI"
19-
},
20-
"z_min": {
21-
"type": "number",
22-
"description": "Minimum Z coordinate"
23-
},
24-
"z_max": {
25-
"type": "number",
26-
"description": "Maximum Z coordinate"
27-
},
28-
"id": {
29-
"type": "string",
30-
"description": "Optional ID for updating existing VOI"
31-
}
32-
},
33-
"required": [
34-
"name",
35-
"aoi_id",
36-
"z_min",
37-
"z_max"
38-
],
39-
"additionalProperties": false
40-
},
41-
"create_point": {
42-
"$id": "opengeodeweb_back/create/create_point",
43-
"route": "/create_point",
4+
"point": {
5+
"$id": "opengeodeweb_back/create/point",
6+
"route": "/point",
447
"methods": [
458
"POST"
469
],
@@ -67,52 +30,6 @@
6730
"z"
6831
],
6932
"additionalProperties": false
70-
},
71-
"create_aoi": {
72-
"$id": "opengeodeweb_back/create/create_aoi",
73-
"route": "/create_aoi",
74-
"methods": [
75-
"POST"
76-
],
77-
"type": "object",
78-
"properties": {
79-
"name": {
80-
"type": "string",
81-
"description": "Name of the AOI"
82-
},
83-
"points": {
84-
"type": "array",
85-
"items": {
86-
"type": "object",
87-
"properties": {
88-
"x": {
89-
"type": "number"
90-
},
91-
"y": {
92-
"type": "number"
93-
}
94-
},
95-
"required": [
96-
"x",
97-
"y"
98-
],
99-
"additionalProperties": false
100-
},
101-
"minItems": 3
102-
},
103-
"z": {
104-
"type": "number"
105-
},
106-
"id": {
107-
"type": "string"
108-
}
109-
},
110-
"required": [
111-
"name",
112-
"points",
113-
"z"
114-
],
115-
"additionalProperties": false
11633
}
11734
},
11835
"models": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
from .point import *

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def configure_test_environment() -> Generator[None, None, None]:
4949
shutil.rmtree(tmp_data_path, ignore_errors=True)
5050
print(f"Cleaned up test data folder: {tmp_data_path}", flush=True)
5151
register_ogw_back_blueprints(app)
52-
52+
5353

5454
@pytest.fixture
5555
def client() -> Generator[FlaskClient, None, None]:

0 commit comments

Comments
 (0)