From bddac63cb14c9911e78f55b81b3e59dcad3b475c Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Fri, 7 Mar 2025 14:40:16 -0800 Subject: [PATCH] Update OpenAPI Description (#54733) Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com> --- src/github-apps/lib/config.json | 2 +- src/rest/data/fpt-2022-11-28/schema.json | 176 ++++++++++++++ src/rest/data/ghec-2022-11-28/schema.json | 276 ++++++++++++++++++++-- src/rest/lib/config.json | 2 +- src/webhooks/lib/config.json | 2 +- 5 files changed, 435 insertions(+), 23 deletions(-) diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index d7fb94a8ad..dc30c79c5f 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "8474aa52ebc657dd2ac31b5ac18283a5708c5a68" + "sha": "e40e7bf1e6c9db6c52a35b4675f1c8248c35643a" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 7a050452af..a3284932fc 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -168176,6 +168176,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -168469,6 +168478,18 @@ } ] }, + { + "type": "string", + "name": "code_scanning_delegated_alert_dismissal", + "in": "body", + "description": "
The enablement status of code scanning delegated alert dismissal
", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, { "type": "string", "name": "secret_scanning", @@ -168608,6 +168629,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -168739,6 +168761,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -169140,6 +169171,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -169349,6 +169389,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -169480,6 +169521,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -169776,6 +169826,18 @@ } ] }, + { + "type": "string", + "name": "code_scanning_delegated_alert_dismissal", + "in": "body", + "description": "The enablement status of code scanning delegated alert dismissal
", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, { "type": "string", "name": "secret_scanning", @@ -169907,6 +169969,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -170038,6 +170101,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -170453,6 +170525,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -170599,6 +170672,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -171609,6 +171691,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_delagated_alert_dismissal": "enabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -171645,6 +171728,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "enabled", "code_scanning_default_setup": "enabled", + "code_scanning_delagated_alert_dismissal": "enabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -171778,6 +171862,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -172071,6 +172164,18 @@ } ] }, + { + "type": "string", + "name": "code_scanning_delegated_alert_dismissal", + "in": "body", + "description": "The enablement status of code scanning delegated alert dismissal
", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "not_set" + }, { "type": "string", "name": "secret_scanning", @@ -172260,6 +172365,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -172391,6 +172497,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -172784,6 +172899,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -173097,6 +173221,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -173228,6 +173353,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -173524,6 +173658,18 @@ } ] }, + { + "type": "string", + "name": "code_scanning_delegated_alert_dismissal", + "in": "body", + "description": "The enablement status of code scanning delegated alert dismissal
", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, { "type": "string", "name": "secret_scanning", @@ -173703,6 +173849,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -173834,6 +173981,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -174250,6 +174406,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -174396,6 +174553,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -175379,6 +175545,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -175529,6 +175696,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 27dc4ae65b..39623f724a 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -179295,6 +179295,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -179588,6 +179597,18 @@ } ] }, + { + "type": "string", + "name": "code_scanning_delegated_alert_dismissal", + "in": "body", + "description": "The enablement status of code scanning delegated alert dismissal
", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, { "type": "string", "name": "secret_scanning", @@ -179727,6 +179748,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -179858,6 +179880,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -180259,6 +180290,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -180468,6 +180508,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -180599,6 +180640,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -180895,6 +180945,18 @@ } ] }, + { + "type": "string", + "name": "code_scanning_delegated_alert_dismissal", + "in": "body", + "description": "The enablement status of code scanning delegated alert dismissal
", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, { "type": "string", "name": "secret_scanning", @@ -181026,6 +181088,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -181157,6 +181220,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -181572,6 +181644,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -181718,6 +181791,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -182728,6 +182810,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_delagated_alert_dismissal": "enabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -182764,6 +182847,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "enabled", "code_scanning_default_setup": "enabled", + "code_scanning_delagated_alert_dismissal": "enabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -182897,6 +182981,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -183190,6 +183283,18 @@ } ] }, + { + "type": "string", + "name": "code_scanning_delegated_alert_dismissal", + "in": "body", + "description": "The enablement status of code scanning delegated alert dismissal
", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "not_set" + }, { "type": "string", "name": "secret_scanning", @@ -183379,6 +183484,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -183510,6 +183616,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -183903,6 +184018,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -184216,6 +184340,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -184347,6 +184472,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -184643,6 +184777,18 @@ } ] }, + { + "type": "string", + "name": "code_scanning_delegated_alert_dismissal", + "in": "body", + "description": "The enablement status of code scanning delegated alert dismissal
", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, { "type": "string", "name": "secret_scanning", @@ -184822,6 +184968,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -184953,6 +185100,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -185369,6 +185525,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -185515,6 +185672,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -186498,6 +186664,7 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -186648,6 +186815,15 @@ } } }, + "code_scanning_delegated_alert_dismissal": { + "type": "string", + "description": "The enablement status of code scanning delegated alert dismissal", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -279597,15 +279773,24 @@ "description": "The repository the bypass request is for.", "properties": { "id": { - "type": "integer", + "type": [ + "integer", + "null" + ], "description": "The ID of the repository the bypass request is for." }, "name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The name of the repository the bypass request is for." }, "full_name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The full name of the repository the bypass request is for." } } @@ -279615,11 +279800,17 @@ "description": "The organization associated with the repository the bypass request is for.", "properties": { "id": { - "type": "integer", + "type": [ + "integer", + "null" + ], "description": "The ID of the organization." }, "name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The name of the organization." } } @@ -423530,15 +423721,24 @@ "description": "The repository the bypass request is for.", "properties": { "id": { - "type": "integer", + "type": [ + "integer", + "null" + ], "description": "The ID of the repository the bypass request is for." }, "name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The name of the repository the bypass request is for." }, "full_name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The full name of the repository the bypass request is for." } } @@ -423548,11 +423748,17 @@ "description": "The organization associated with the repository the bypass request is for.", "properties": { "id": { - "type": "integer", + "type": [ + "integer", + "null" + ], "description": "The ID of the organization." }, "name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The name of the organization." } } @@ -563898,15 +564104,24 @@ "description": "The repository the bypass request is for.", "properties": { "id": { - "type": "integer", + "type": [ + "integer", + "null" + ], "description": "The ID of the repository the bypass request is for." }, "name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The name of the repository the bypass request is for." }, "full_name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The full name of the repository the bypass request is for." } } @@ -563916,11 +564131,17 @@ "description": "The organization associated with the repository the bypass request is for.", "properties": { "id": { - "type": "integer", + "type": [ + "integer", + "null" + ], "description": "The ID of the organization." }, "name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The name of the organization." } } @@ -564218,15 +564439,24 @@ "description": "The repository the bypass request is for.", "properties": { "id": { - "type": "integer", + "type": [ + "integer", + "null" + ], "description": "The ID of the repository the bypass request is for." }, "name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The name of the repository the bypass request is for." }, "full_name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The full name of the repository the bypass request is for." } } @@ -564236,11 +564466,17 @@ "description": "The organization associated with the repository the bypass request is for.", "properties": { "id": { - "type": "integer", + "type": [ + "integer", + "null" + ], "description": "The ID of the organization." }, "name": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The name of the organization." } } diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 2d8db1442e..cacb8b4f40 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -47,5 +47,5 @@ ] } }, - "sha": "8474aa52ebc657dd2ac31b5ac18283a5708c5a68" + "sha": "e40e7bf1e6c9db6c52a35b4675f1c8248c35643a" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 547f8dae68..c1c63e7ea3 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "8474aa52ebc657dd2ac31b5ac18283a5708c5a68" + "sha": "e40e7bf1e6c9db6c52a35b4675f1c8248c35643a" } \ No newline at end of file