papinet / papiNet-API

papiNet is a global paper, forest products and bioproducts industry e-Business initiative.
http://www.papinet.org/
Apache License 2.0
9 stars 3 forks source link

GetLocationById: issues #78

Closed larsolofsson closed 1 year ago

larsolofsson commented 1 year ago

GetLocationById: id: is missing format: uuid in the schema.

country in schema is just country: type: string

"country": "BE", In Availability.md on line 409. 437 and 629 It should be "country": "Belgium" and not the country code when type: string

Should it be changed in the schema to countryCode:? countryCode: type: string minLength: 1 maxLength: 2 description: The (two-letter) value - e.g. "SE", "BE", ... - MUST exist in the ISO 3166-1 standard list.

patricekrakow commented 1 year ago

Is has been fixed with https://github.com/papinet/papiNet-API/commit/040731a7f5e12d78f8ab2e51425155755104431e.