Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit fe95bd2

Browse files
author
mpastorek
authored
Upgrade frinx-api to match v7.0.0 server (#113)
Signed-off-by: Marek <marek.pastorek@elisapolystar.com>
1 parent 3cccc6f commit fe95bd2

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

json-schema/python/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@
3434

3535
# 0.4.2
3636
- Bump dependencies.
37+
38+
# 1.0.0
39+
- Updated API according v7.0.0 GraphQL schema.

json-schema/python/frinx_api/json_schema/device_geo_location.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Type(str, Enum):
1515
Type of geometry.
1616
"""
1717

18-
Point = 'Point'
18+
POINT = 'POINT'
1919

2020

2121
class DeviceGeoLocation(BaseModel):

json-schema/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ packages = [{ include = "frinx_api" }]
1717
name = "frinx-json-schemas"
1818
description = "JSON schemas to pydantic basemodel converter"
1919
authors = ["Jakub Bogusciak <jakub.bogusciak@elisapolystar.com>"]
20-
version = "0.4.2"
20+
version = "1.0.0"
2121
readme = ["README.md", "CHANGELOG.md", "RELEASE.md"]
2222
keywords = ["json-schema"]
2323
license = "Apache 2.0"

utils/json-schemas/device_geo_location.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"description": "Type of geometry.",
1414
"type": "string",
1515
"enum": [
16-
"Point"
16+
"POINT"
1717
]
1818
},
1919
"coordinates": {

0 commit comments

Comments
 (0)