Skip to content

Commit 3c32104

Browse files
authored
✨ Feature: support REST API version 2026-03-10 (#282)
1 parent 08c806c commit 3c32104

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ legacy_rest_models = "githubkit/rest/__init__.py"
170170
version = "2022-11-28"
171171
identifier = "2022-11-28"
172172
module = "v2022_11_28"
173-
is_latest = true
173+
is_latest = false
174174
source = "descriptions-next/api.github.com/api.github.com.2022-11-28.json"
175175

176176
[[tool.codegen.descriptions]]
@@ -180,6 +180,20 @@ module = "ghec_v2022_11_28"
180180
is_latest = false
181181
source = "descriptions-next/ghec/ghec.2022-11-28.json"
182182

183+
[[tool.codegen.descriptions]]
184+
version = "2026-03-10"
185+
identifier = "2026-03-10"
186+
module = "v2026_03_10"
187+
is_latest = true
188+
source = "descriptions-next/api.github.com/api.github.com.2026-03-10.json"
189+
190+
[[tool.codegen.descriptions]]
191+
version = "2026-03-10"
192+
identifier = "ghec-2026-03-10"
193+
module = "ghec_v2026_03_10"
194+
is_latest = false
195+
source = "descriptions-next/ghec/ghec.2026-03-10.json"
196+
183197
[[tool.codegen.overrides]]
184198

185199
[tool.codegen.overrides.field_overrides]
@@ -608,7 +622,7 @@ source = "descriptions-next/ghec/ghec.2022-11-28.json"
608622

609623
[[tool.codegen.overrides]]
610624
# override invalid schemas for ghec-2022-11-28
611-
target_descriptions = ["ghec-2022-11-28"]
625+
target_descriptions = ["ghec-2022-11-28", "ghec-2026-03-10"]
612626

613627
[tool.codegen.overrides.schema_overrides]
614628
# duplicate operation name for enterprise apps

0 commit comments

Comments
 (0)