What happened?
The status code and response body for the POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches endpoint was changed in the original schema:
https://github.com/github/rest-api-description/blob/d77b7dde24f7b3a52b3532b1337d4be8a60fb34d/descriptions/api.github.com/CHANGELOG.md?plain=1#L548-L549
A successful response should have a 200 OK status and return details about the newly dispatched workflow run in the body.
However, this doesn't seem to be reflected in the generated OpenAPI schemas here, or at least I can't seem to find what I am missing, the generated schema here only includes a 204 response with an empty body. I think something needs regenerating?
(For context, this is causing the TypeScript response type information for the endpoint in octokit/rest.js to be out of sync with the actual response received from the API.)
Versions
main
Relevant log output
Code of Conduct
What happened?
The status code and response body for the
POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatchesendpoint was changed in the original schema:https://github.com/github/rest-api-description/blob/d77b7dde24f7b3a52b3532b1337d4be8a60fb34d/descriptions/api.github.com/CHANGELOG.md?plain=1#L548-L549
A successful response should have a 200 OK status and return details about the newly dispatched workflow run in the body.
However, this doesn't seem to be reflected in the generated OpenAPI schemas here, or at least I can't seem to find what I am missing, the generated schema here only includes a 204 response with an empty body. I think something needs regenerating?
(For context, this is causing the TypeScript response type information for the endpoint in
octokit/rest.jsto be out of sync with the actual response received from the API.)Versions
mainRelevant log output
Code of Conduct