diff --git a/pyproject.toml b/pyproject.toml index 39e8f2a4c..fc721ca6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -170,7 +170,7 @@ legacy_rest_models = "githubkit/rest/__init__.py" version = "2022-11-28" identifier = "2022-11-28" module = "v2022_11_28" -is_latest = true +is_latest = false source = "descriptions-next/api.github.com/api.github.com.2022-11-28.json" [[tool.codegen.descriptions]] @@ -180,6 +180,20 @@ module = "ghec_v2022_11_28" is_latest = false source = "descriptions-next/ghec/ghec.2022-11-28.json" +[[tool.codegen.descriptions]] +version = "2026-03-10" +identifier = "2026-03-10" +module = "v2026_03_10" +is_latest = true +source = "descriptions-next/api.github.com/api.github.com.2026-03-10.json" + +[[tool.codegen.descriptions]] +version = "2026-03-10" +identifier = "ghec-2026-03-10" +module = "ghec_v2026_03_10" +is_latest = false +source = "descriptions-next/ghec/ghec.2026-03-10.json" + [[tool.codegen.overrides]] [tool.codegen.overrides.field_overrides] @@ -608,7 +622,7 @@ source = "descriptions-next/ghec/ghec.2022-11-28.json" [[tool.codegen.overrides]] # override invalid schemas for ghec-2022-11-28 -target_descriptions = ["ghec-2022-11-28"] +target_descriptions = ["ghec-2022-11-28", "ghec-2026-03-10"] [tool.codegen.overrides.schema_overrides] # duplicate operation name for enterprise apps