-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Open
Labels
Description
OData APIs are based on an entity-relationship model, so the top-level resources are collections of identically structured objects, and there's a subset of properties whose values uniquely identify an object (think: records in a database table).
A similar issue has been addressed in the JSON Schema discussion group, see https://groups.google.com/d/msg/json-schema/CYd8xk1Czyg/XLNxEzDOPj4J
We currently solve this with an extension keyword "x-keys" whose value is an array of strings listing the names of the "primary key" properties.
Anyone else seeing a need for this and wanting to have it in OpenAPI.Next?
avkonst, codessentials and soggier