From 21be0384ee2170a4649c983b0de860bd50595c76 Mon Sep 17 00:00:00 2001 From: potherakallo Date: Fri, 22 Nov 2024 17:55:34 +0000 Subject: [PATCH 1/2] Update TS28623_ComDefs.yaml --- OpenAPI/TS28623_ComDefs.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/OpenAPI/TS28623_ComDefs.yaml b/OpenAPI/TS28623_ComDefs.yaml index 42ede46e7..97ae7a8fe 100755 --- a/OpenAPI/TS28623_ComDefs.yaml +++ b/OpenAPI/TS28623_ComDefs.yaml @@ -170,17 +170,19 @@ components: $ref: '#/components/schemas/Longitude' altitude: $ref: '#/components/schemas/Float' - ConvexGeoPolygon: + geoPolygon: type: array uniqueItems: true items: $ref: '#/components/schemas/GeoCoordinate' minItems: 3 GeoArea: - type: object - properties: - convexGeoPolygon: - $ref: '#/components/schemas/ConvexGeoPolygon' + oneOf: + - type: object + properties: + geoPolygon: + $ref: '#/components/schemas/GeoCoordinate' + minItems: 1 GeoAreaToCellMapping: type: object properties: -- GitLab From 817ccee68098f49d971c14745f2771867430bcca Mon Sep 17 00:00:00 2001 From: potherakallo Date: Fri, 22 Nov 2024 18:07:07 +0000 Subject: [PATCH 2/2] Update TS28623_ComDefs.yaml --- OpenAPI/TS28623_ComDefs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenAPI/TS28623_ComDefs.yaml b/OpenAPI/TS28623_ComDefs.yaml index 97ae7a8fe..e8f0a910e 100755 --- a/OpenAPI/TS28623_ComDefs.yaml +++ b/OpenAPI/TS28623_ComDefs.yaml @@ -170,12 +170,12 @@ components: $ref: '#/components/schemas/Longitude' altitude: $ref: '#/components/schemas/Float' - geoPolygon: + GeoPolygon: type: array uniqueItems: true items: $ref: '#/components/schemas/GeoCoordinate' - minItems: 3 + minItems: 1 GeoArea: oneOf: - type: object -- GitLab