From 7b436a2641d4f21249d64dd5c4b2f0821650f05c Mon Sep 17 00:00:00 2001 From: Raymond Jacobson Date: Tue, 9 Jun 2026 16:22:50 -0700 Subject: [PATCH] docs(api): document `collaborators` on the track schema in the OpenAPI spec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The track response already returns `collaborators` (added in #932), but the embedded swagger spec didn't declare it — so SDK codegen (which generates from this spec) silently omits the field and clients that deserialize via the generated models drop it. Add `collaborators` (array of users) to the `track` and `search_track` schemas so the generated SDK Track/SearchTrack models include it, matching the API's actual response. Co-Authored-By: Claude Opus 4.8 --- api/swagger/swagger-v1.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/swagger/swagger-v1.yaml b/api/swagger/swagger-v1.yaml index 57859456..40f1ead2 100644 --- a/api/swagger/swagger-v1.yaml +++ b/api/swagger/swagger-v1.yaml @@ -14953,6 +14953,11 @@ components: type: string user: $ref: "#/components/schemas/user" + collaborators: + type: array + description: Accepted collaborator artists on the track. + items: + $ref: "#/components/schemas/user" duration: type: integer is_downloadable: @@ -16429,6 +16434,11 @@ components: type: string user: $ref: "#/components/schemas/user" + collaborators: + type: array + description: Accepted collaborator artists on the track. + items: + $ref: "#/components/schemas/user" duration: type: integer is_downloadable: