The Apple app wants to generate its client from /api/v1/openapi.json with Apple's swift-openapi-generator, so it keeps up as the forge moves. Today 448 paths are listed, but only about 40 operations declare a 200 response schema, and those are partial (for example GET /repos/{owner}/{name}/pulls/{number} lists 5 of its ~45 fields, and contents/{path} has none). Request bodies are similarly thin (POST /conversation/messages lists conversation and text only).
Needed: response and request schemas for the repo routes the app uses (repos, contents, commits, branches, issues, pulls with files/checks/reviews/review-states/comments/merge, edits, conversations and conversation/messages), ideally generated from the same code that writes the JSON so they cannot drift. Until then the app decodes by hand, leniently.
The Apple app wants to generate its client from
/api/v1/openapi.jsonwith Apple's swift-openapi-generator, so it keeps up as the forge moves. Today 448 paths are listed, but only about 40 operations declare a 200 response schema, and those are partial (for exampleGET /repos/{owner}/{name}/pulls/{number}lists 5 of its ~45 fields, andcontents/{path}has none). Request bodies are similarly thin (POST /conversation/messageslistsconversationandtextonly).Needed: response and request schemas for the repo routes the app uses (repos, contents, commits, branches, issues, pulls with files/checks/reviews/review-states/comments/merge, edits, conversations and conversation/messages), ideally generated from the same code that writes the JSON so they cannot drift. Until then the app decodes by hand, leniently.