camaraproject / SimpleEdgeDiscovery

Repository to describe, develop, document and test the SimpleEdgeDiscovery API (part of EdgeCloud API family)
Apache License 2.0
1 stars 2 forks source link

Simple Edge Discovery: edgeCloudZones collection array does not contain edgeCloudZone objects #17

Closed Kevsy closed 4 months ago

Kevsy commented 6 months ago

As described in Discussion 200

Summary: the collection returned by /edgeCloudZones?filter=closest is an array, to allow forward compatibility with other discovery calls (e.g. an array of all edgeCloudZones). The documentation in release 0.9.3 correctly shows the single array member as a MECPlatform (now edgeCloudZone object) containing two properties, however the YAML wrongly models the response as simply the properties.

Resolution: correct the schema so that the response array is an edgeCloudZone object containing the zone properties.

Kevsy commented 6 months ago

Fixed in camaraproject/EdgeCloud#194