diff --git a/githubkit/rest/__init__.py b/githubkit/rest/__init__.py index 7caf75639..5265cb337 100644 --- a/githubkit/rest/__init__.py +++ b/githubkit/rest/__init__.py @@ -3750,7 +3750,7 @@ WebhookDeploymentCreatedPropDeploymentPropCreator as WebhookDeploymentCreatedPropDeploymentPropCreator, ) from githubkit.versions.v2022_11_28.models import ( - WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0 as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0, + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1 as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1, ) from githubkit.versions.v2022_11_28.models import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp, @@ -10673,7 +10673,7 @@ "WebhookDeploymentCreated", "WebhookDeploymentCreatedPropDeployment", "WebhookDeploymentCreatedPropDeploymentPropCreator", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwner", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissions", diff --git a/githubkit/versions/ghec_v2022_11_28/models/__init__.py b/githubkit/versions/ghec_v2022_11_28/models/__init__.py index 4097eb668..cbd8e703f 100644 --- a/githubkit/versions/ghec_v2022_11_28/models/__init__.py +++ b/githubkit/versions/ghec_v2022_11_28/models/__init__.py @@ -2321,7 +2321,7 @@ WebhookDeploymentCreatedPropDeploymentPropCreator as WebhookDeploymentCreatedPropDeploymentPropCreator, ) from .group_0540 import ( - WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0 as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0, + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1 as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1, ) from .group_0540 import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp, @@ -10479,7 +10479,7 @@ "WebhookDeploymentCreated", "WebhookDeploymentCreatedPropDeployment", "WebhookDeploymentCreatedPropDeploymentPropCreator", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwner", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissions", diff --git a/githubkit/versions/ghec_v2022_11_28/models/group_0540.py b/githubkit/versions/ghec_v2022_11_28/models/group_0540.py index 467af4c1f..1bb502faa 100644 --- a/githubkit/versions/ghec_v2022_11_28/models/group_0540.py +++ b/githubkit/versions/ghec_v2022_11_28/models/group_0540.py @@ -14,7 +14,7 @@ from pydantic import Field -from githubkit.compat import GitHubModel, model_rebuild +from githubkit.compat import ExtraGitHubModel, GitHubModel, model_rebuild from githubkit.typing import Missing from githubkit.utils import UNSET @@ -76,7 +76,7 @@ class WebhookDeploymentCreatedPropDeployment(GitHubModel): id: int = Field() node_id: str = Field() original_environment: str = Field() - payload: Union[WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0, str] = ( + payload: Union[str, WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1] = ( Field() ) performed_via_github_app: Missing[ @@ -124,8 +124,8 @@ class WebhookDeploymentCreatedPropDeploymentPropCreator(GitHubModel): user_view_type: Missing[str] = Field(default=UNSET) -class WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0(GitHubModel): - """WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0""" +class WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1(ExtraGitHubModel): + """WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1""" class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp(GitHubModel): @@ -572,7 +572,7 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRe model_rebuild(WebhookDeploymentCreated) model_rebuild(WebhookDeploymentCreatedPropDeployment) model_rebuild(WebhookDeploymentCreatedPropDeploymentPropCreator) -model_rebuild(WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0) +model_rebuild(WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1) model_rebuild(WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp) model_rebuild(WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwner) model_rebuild( @@ -600,7 +600,7 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRe "WebhookDeploymentCreated", "WebhookDeploymentCreatedPropDeployment", "WebhookDeploymentCreatedPropDeploymentPropCreator", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwner", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissions", diff --git a/githubkit/versions/ghec_v2022_11_28/models/group_0545.py b/githubkit/versions/ghec_v2022_11_28/models/group_0545.py index e4fd30ac0..af2c9f600 100644 --- a/githubkit/versions/ghec_v2022_11_28/models/group_0545.py +++ b/githubkit/versions/ghec_v2022_11_28/models/group_0545.py @@ -14,7 +14,7 @@ from pydantic import Field -from githubkit.compat import GitHubModel, model_rebuild +from githubkit.compat import ExtraGitHubModel, GitHubModel, model_rebuild from githubkit.typing import Missing from githubkit.utils import UNSET @@ -167,7 +167,7 @@ class WebhookDeploymentStatusCreatedPropDeploymentPropCreator(GitHubModel): user_view_type: Missing[str] = Field(default=UNSET) -class WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1(GitHubModel): +class WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1(ExtraGitHubModel): """WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1""" diff --git a/githubkit/versions/ghec_v2022_11_28/types/__init__.py b/githubkit/versions/ghec_v2022_11_28/types/__init__.py index 966b57cd4..ce709d278 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/__init__.py +++ b/githubkit/versions/ghec_v2022_11_28/types/__init__.py @@ -2605,7 +2605,7 @@ WebhookDeploymentCreatedPropDeploymentPropCreatorType as WebhookDeploymentCreatedPropDeploymentPropCreatorType, ) from .group_0540 import ( - WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type, + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type, ) from .group_0540 import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType, @@ -10963,7 +10963,7 @@ "WebhookDeploymentCreatedType", "WebhookDeploymentCreatedPropDeploymentType", "WebhookDeploymentCreatedPropDeploymentPropCreatorType", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0540.py b/githubkit/versions/ghec_v2022_11_28/types/group_0540.py index 86ad0234a..3a046f551 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0540.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0540.py @@ -49,7 +49,7 @@ class WebhookDeploymentCreatedPropDeploymentType(TypedDict): id: int node_id: str original_environment: str - payload: Union[WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type, str] + payload: Union[str, WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type] performed_via_github_app: NotRequired[ Union[WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType, None] ] @@ -91,8 +91,8 @@ class WebhookDeploymentCreatedPropDeploymentPropCreatorType(TypedDict): user_view_type: NotRequired[str] -class WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type(TypedDict): - """WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0""" +class WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type(TypedDict): + """WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1""" class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType(TypedDict): @@ -535,7 +535,7 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRe __all__ = ( "WebhookDeploymentCreatedPropDeploymentPropCreatorType", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType", diff --git a/githubkit/versions/latest/models.py b/githubkit/versions/latest/models.py index 7caf75639..5265cb337 100644 --- a/githubkit/versions/latest/models.py +++ b/githubkit/versions/latest/models.py @@ -3750,7 +3750,7 @@ WebhookDeploymentCreatedPropDeploymentPropCreator as WebhookDeploymentCreatedPropDeploymentPropCreator, ) from githubkit.versions.v2022_11_28.models import ( - WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0 as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0, + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1 as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1, ) from githubkit.versions.v2022_11_28.models import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp, @@ -10673,7 +10673,7 @@ "WebhookDeploymentCreated", "WebhookDeploymentCreatedPropDeployment", "WebhookDeploymentCreatedPropDeploymentPropCreator", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwner", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissions", diff --git a/githubkit/versions/latest/types.py b/githubkit/versions/latest/types.py index ce7f6a8e7..b34e5fe2a 100644 --- a/githubkit/versions/latest/types.py +++ b/githubkit/versions/latest/types.py @@ -3880,7 +3880,7 @@ WebhookDeploymentCreatedPropDeploymentPropCreatorType as WebhookDeploymentCreatedPropDeploymentPropCreatorType, ) from githubkit.versions.v2022_11_28.types import ( - WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type, + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type, ) from githubkit.versions.v2022_11_28.types import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType, @@ -10847,7 +10847,7 @@ "WebhookDeploymentCreatedType", "WebhookDeploymentCreatedPropDeploymentType", "WebhookDeploymentCreatedPropDeploymentPropCreatorType", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", diff --git a/githubkit/versions/v2022_11_28/models/__init__.py b/githubkit/versions/v2022_11_28/models/__init__.py index 4abdcc772..e366fd7cc 100644 --- a/githubkit/versions/v2022_11_28/models/__init__.py +++ b/githubkit/versions/v2022_11_28/models/__init__.py @@ -2060,7 +2060,7 @@ WebhookDeploymentCreatedPropDeploymentPropCreator as WebhookDeploymentCreatedPropDeploymentPropCreator, ) from .group_0482 import ( - WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0 as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0, + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1 as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1, ) from .group_0482 import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp, @@ -9909,7 +9909,7 @@ "WebhookDeploymentCreated", "WebhookDeploymentCreatedPropDeployment", "WebhookDeploymentCreatedPropDeploymentPropCreator", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwner", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissions", diff --git a/githubkit/versions/v2022_11_28/models/group_0482.py b/githubkit/versions/v2022_11_28/models/group_0482.py index 7ac1af295..098fbe1cd 100644 --- a/githubkit/versions/v2022_11_28/models/group_0482.py +++ b/githubkit/versions/v2022_11_28/models/group_0482.py @@ -14,7 +14,7 @@ from pydantic import Field -from githubkit.compat import GitHubModel, model_rebuild +from githubkit.compat import ExtraGitHubModel, GitHubModel, model_rebuild from githubkit.typing import Missing from githubkit.utils import UNSET @@ -76,7 +76,7 @@ class WebhookDeploymentCreatedPropDeployment(GitHubModel): id: int = Field() node_id: str = Field() original_environment: str = Field() - payload: Union[WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0, str] = ( + payload: Union[str, WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1] = ( Field() ) performed_via_github_app: Missing[ @@ -124,8 +124,8 @@ class WebhookDeploymentCreatedPropDeploymentPropCreator(GitHubModel): user_view_type: Missing[str] = Field(default=UNSET) -class WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0(GitHubModel): - """WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0""" +class WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1(ExtraGitHubModel): + """WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1""" class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp(GitHubModel): @@ -572,7 +572,7 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRe model_rebuild(WebhookDeploymentCreated) model_rebuild(WebhookDeploymentCreatedPropDeployment) model_rebuild(WebhookDeploymentCreatedPropDeploymentPropCreator) -model_rebuild(WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0) +model_rebuild(WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1) model_rebuild(WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp) model_rebuild(WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwner) model_rebuild( @@ -600,7 +600,7 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRe "WebhookDeploymentCreated", "WebhookDeploymentCreatedPropDeployment", "WebhookDeploymentCreatedPropDeploymentPropCreator", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubApp", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwner", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissions", diff --git a/githubkit/versions/v2022_11_28/models/group_0487.py b/githubkit/versions/v2022_11_28/models/group_0487.py index 708f4e6b4..331c9f1ac 100644 --- a/githubkit/versions/v2022_11_28/models/group_0487.py +++ b/githubkit/versions/v2022_11_28/models/group_0487.py @@ -14,7 +14,7 @@ from pydantic import Field -from githubkit.compat import GitHubModel, model_rebuild +from githubkit.compat import ExtraGitHubModel, GitHubModel, model_rebuild from githubkit.typing import Missing from githubkit.utils import UNSET @@ -167,7 +167,7 @@ class WebhookDeploymentStatusCreatedPropDeploymentPropCreator(GitHubModel): user_view_type: Missing[str] = Field(default=UNSET) -class WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1(GitHubModel): +class WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1(ExtraGitHubModel): """WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1""" diff --git a/githubkit/versions/v2022_11_28/types/__init__.py b/githubkit/versions/v2022_11_28/types/__init__.py index 5a3419059..bb31df273 100644 --- a/githubkit/versions/v2022_11_28/types/__init__.py +++ b/githubkit/versions/v2022_11_28/types/__init__.py @@ -2326,7 +2326,7 @@ WebhookDeploymentCreatedPropDeploymentPropCreatorType as WebhookDeploymentCreatedPropDeploymentPropCreatorType, ) from .group_0482 import ( - WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type, + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type, ) from .group_0482 import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType, @@ -10375,7 +10375,7 @@ "WebhookDeploymentCreatedType", "WebhookDeploymentCreatedPropDeploymentType", "WebhookDeploymentCreatedPropDeploymentPropCreatorType", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", diff --git a/githubkit/versions/v2022_11_28/types/group_0482.py b/githubkit/versions/v2022_11_28/types/group_0482.py index 9322a4b31..9f2e36ad4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0482.py +++ b/githubkit/versions/v2022_11_28/types/group_0482.py @@ -49,7 +49,7 @@ class WebhookDeploymentCreatedPropDeploymentType(TypedDict): id: int node_id: str original_environment: str - payload: Union[WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type, str] + payload: Union[str, WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type] performed_via_github_app: NotRequired[ Union[WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType, None] ] @@ -91,8 +91,8 @@ class WebhookDeploymentCreatedPropDeploymentPropCreatorType(TypedDict): user_view_type: NotRequired[str] -class WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type(TypedDict): - """WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0""" +class WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type(TypedDict): + """WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1""" class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType(TypedDict): @@ -535,7 +535,7 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRe __all__ = ( "WebhookDeploymentCreatedPropDeploymentPropCreatorType", - "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof0Type", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType", diff --git a/pyproject.toml b/pyproject.toml index e2f776c28..a14833161 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -429,6 +429,16 @@ source = "https://raw.githubusercontent.com/github/rest-api-description/main/des "/components/schemas/webhook-issues-unlocked/properties/issue/properties/performed_via_github_app/properties/events/items" = { enum = "" } "/components/schemas/webhook-meta-deleted/properties/hook/properties/events/items" = { enum = "" } +# webhook deployment payload object can contain additional properties +"/components/schemas/webhook-deployment-status-created/properties/deployment/properties/payload" = { oneOf = [ + { type = "string" }, + { type = "object", additionalProperties = true }, +] } +"/components/schemas/webhook-deployment-created/properties/deployment/properties/payload" = { oneOf = [ + { type = "string" }, + { type = "object", additionalProperties = true }, +] } + # webhook deployment protection rule action is required "/components/schemas/webhook-deployment-protection-rule-requested" = { required = [ "action",