From bd77fac8faf972f7473a63a27dd8f232f777234c Mon Sep 17 00:00:00 2001 From: maxstaas1910 <110914218+maxstaas1910@users.noreply.github.com> Date: Thu, 10 Apr 2025 11:35:44 +0200 Subject: [PATCH 1/3] :bug: add values missing from schema --- pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 9e28fabae..53b714d35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -522,6 +522,14 @@ source = "https://raw.githubusercontent.com/github/rest-api-description/main/des "/webhooks/repository-dispatch-sample.collected/post" = { operationId = "repository-dispatch" } # "/components/schemas/webhook-repository-dispatch-sample/properties/action" = { enum = "" } +# Relationship between alert and repository as well as code scanning alert source were missing values, see issue: # https://github.com/yanyongyu/githubkit/issues/201 +"/components/schemas/dependabot-alert-with-repository/properties/dependency/properties/relationship/enum" = { "" = [ + "inconclusive", +] } +"/components/schemas/code-scanning-alert-classification/enum" = { "" = [ + "documentation", +] } + [build-system] requires = ["poetry_core>=1.0.0"] build-backend = "poetry.core.masonry.api" From 63a9aabafd2146707ea3b67c94632173a33974cb Mon Sep 17 00:00:00 2001 From: maxstaas1910 <110914218+maxstaas1910@users.noreply.github.com> Date: Thu, 10 Apr 2025 11:43:09 +0200 Subject: [PATCH 2/3] Adjust fix nr. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 53b714d35..de6318678 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -522,7 +522,7 @@ source = "https://raw.githubusercontent.com/github/rest-api-description/main/des "/webhooks/repository-dispatch-sample.collected/post" = { operationId = "repository-dispatch" } # "/components/schemas/webhook-repository-dispatch-sample/properties/action" = { enum = "" } -# Relationship between alert and repository as well as code scanning alert source were missing values, see issue: # https://github.com/yanyongyu/githubkit/issues/201 +# Relationship between alert and repository as well as code scanning alert source were missing values, see issue: # https://github.com/yanyongyu/githubkit/issues/205 "/components/schemas/dependabot-alert-with-repository/properties/dependency/properties/relationship/enum" = { "" = [ "inconclusive", ] } From b9be24278c4ae5b0722918d17339baa2e38e463c Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Fri, 11 Apr 2025 10:20:52 +0800 Subject: [PATCH 3/3] Update pyproject.toml --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index de6318678..820b6c02c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -522,10 +522,12 @@ source = "https://raw.githubusercontent.com/github/rest-api-description/main/des "/webhooks/repository-dispatch-sample.collected/post" = { operationId = "repository-dispatch" } # "/components/schemas/webhook-repository-dispatch-sample/properties/action" = { enum = "" } -# Relationship between alert and repository as well as code scanning alert source were missing values, see issue: # https://github.com/yanyongyu/githubkit/issues/205 +# https://github.com/yanyongyu/githubkit/issues/205 +# https://github.com/github/rest-api-description/issues/4727 "/components/schemas/dependabot-alert-with-repository/properties/dependency/properties/relationship/enum" = { "" = [ "inconclusive", ] } +# https://github.com/github/rest-api-description/issues/4728 "/components/schemas/code-scanning-alert-classification/enum" = { "" = [ "documentation", ] }