Open
Description
Schema Inaccuracy
In https://github.com/github/rest-api-description/blob/main/descriptions/ghec/ghec.2022-11-28.json commit 6510f7e,
no definition of display_title
under components -> schemas -> webhook-workflow-run-completed -> properties -> workflow_run -> allOf[0] -> properties, but the real payload from GHEC webhook event contains this field.
Expected
display_title defined as:
"display_title": {
"type": "string",
"example": "Simple Workflow",
"description": "The event-specific title associated with the run or the run-name if set, or the value of `run-name` if it is set in the workflow.",
"maxLength": 1024
}
Under components -> schemas -> webhook-workflow-run-completed -> properties -> workflow_run -> allOf[0] -> properties
Reproduction Steps
In GHEC repo settings -> Webhooks -> Manage webhook, setup a webhook with "Workflow runs" selected, run a workflow, then check the "Recent Deliveries" in the webhook setting page, you can see the webhook event workflow_run.completed payload contains display_title
.