adewg / ICAR

Standard messages and specifications for animal data exchange in livestock.
https://icar.org/
Apache License 2.0
47 stars 26 forks source link

Add Discriminator to resourceTypeCatalog.md #426

Closed cookeac closed 10 months ago

cookeac commented 10 months ago

The file resourceTypeCatalog.md defines a short name and URI for use in describing resources. However, it could also cause confusion because the OpenAPI discriminator for a resource (resourceType) is the same name as the JSON file for each resource without the file extension. This is described in the generic data exchange API specification, but it is easy to miss if not looking at this file.

Proposal: Add a "Discriminator (resourceType)" column to the resource type catalog markdown file.