ONDC-Official / ONDC-Protocol-Specs

Open Network for Digital Commerce (ONDC) Open API Specifications. ONDC is an ambitious initiative to democratize digital commerce by creating a decentralized network of buyer apps and seller apps through an interoperable protocol specification.
Other
138 stars 59 forks source link

The format of the `id` which is a property of `Item` is invalid. #42

Closed AyushAgrawal25 closed 2 years ago

AyushAgrawal25 commented 2 years ago

File path: ONDC-Protocol-Specs/protocol-specifications/core/v0/api/retail-hyperlocal.yaml. Item is present inside the schemas which inside the components have a property id whose format is #/components/schemas/Item/properties/id, which is the address to the id property only. This is entirely invalid though it does not cause errors on swagger it will throw during open API validation.

Other than that bap_id and bpp_id should be string and their format should not be uri.

AyushAgrawal25 commented 2 years ago

Issue Resolved.