Skip to content

Commit 22bc170

Browse files
docs-botguntrip
andauthored
Update OpenAPI Description (#60134)
Co-authored-by: Felix Guntrip <guntrip@github.com>
1 parent 2e9bd33 commit 22bc170

File tree

5 files changed

+105
-52
lines changed

5 files changed

+105
-52
lines changed

src/github-apps/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "ee16ba11e8b42e2c895b223c206eb1cebfb9cc62"
63+
"sha": "1f6b671050a3d8584111edcd52e6818892e9b4c9"
6464
}

src/rest/data/fpt-2022-11-28/schema.json

Lines changed: 44 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -198197,11 +198197,20 @@
198197198197
]
198198198198
},
198199198199
"budget_type": {
198200-
"type": "string",
198201198200
"description": "The type of pricing for the budget",
198202-
"enum": [
198203-
"SkuPricing",
198204-
"ProductPricing"
198201+
"oneOf": [
198202+
{
198203+
"type": "string",
198204+
"enum": [
198205+
"SkuPricing"
198206+
]
198207+
},
198208+
{
198209+
"type": "string",
198210+
"enum": [
198211+
"ProductPricing"
198212+
]
198213+
}
198205198214
],
198206198215
"examples": [
198207198216
"SkuPricing"
@@ -198428,11 +198437,20 @@
198428198437
]
198429198438
},
198430198439
"budget_type": {
198431-
"type": "string",
198432198440
"description": "The type of pricing for the budget",
198433-
"enum": [
198434-
"ProductPricing",
198435-
"SkuPricing"
198441+
"oneOf": [
198442+
{
198443+
"type": "string",
198444+
"enum": [
198445+
"ProductPricing"
198446+
]
198447+
},
198448+
{
198449+
"type": "string",
198450+
"enum": [
198451+
"SkuPricing"
198452+
]
198453+
}
198436198454
],
198437198455
"examples": [
198438198456
"ProductPricing"
@@ -198594,11 +198612,7 @@
198594198612
"type": "string",
198595198613
"name": "budget_type",
198596198614
"in": "body",
198597-
"description": "<p>The type of pricing for the budget</p>",
198598-
"enum": [
198599-
"ProductPricing",
198600-
"SkuPricing"
198601-
]
198615+
"description": "<p>The type of pricing for the budget</p>"
198602198616
},
198603198617
{
198604198618
"type": "string",
@@ -198712,11 +198726,20 @@
198712198726
"default": ""
198713198727
},
198714198728
"budget_type": {
198715-
"type": "string",
198716198729
"description": "The type of pricing for the budget",
198717-
"enum": [
198718-
"ProductPricing",
198719-
"SkuPricing"
198730+
"oneOf": [
198731+
{
198732+
"type": "string",
198733+
"enum": [
198734+
"ProductPricing"
198735+
]
198736+
},
198737+
{
198738+
"type": "string",
198739+
"enum": [
198740+
"SkuPricing"
198741+
]
198742+
}
198720198743
]
198721198744
},
198722198745
"budget_product_sku": {
@@ -307783,7 +307806,7 @@
307783307806
"type": "array of strings",
307784307807
"name": "selected_usernames",
307785307808
"in": "body",
307786-
"description": "<p>The usernames of the organization members whose codespaces be billed to the organization.</p>",
307809+
"description": "<p>The usernames of the organization members and outside collaborators whose codespaces should be billed to the organization.</p>",
307787307810
"isRequired": true
307788307811
}
307789307812
],
@@ -307872,7 +307895,7 @@
307872307895
"type": "array of strings",
307873307896
"name": "selected_usernames",
307874307897
"in": "body",
307875-
"description": "<p>The usernames of the organization members whose codespaces should not be billed to the organization.</p>",
307898+
"description": "<p>The usernames of the organization members and outside collaborators whose codespaces should not be billed to the organization.</p>",
307876307899
"isRequired": true
307877307900
}
307878307901
],
@@ -542499,7 +542522,8 @@
542499542522
"enum": [
542500542523
"deployed",
542501542524
"decommissioned"
542502-
]
542525+
],
542526+
"default": "deployed"
542503542527
},
542504542528
{
542505542529
"type": "string",

src/rest/data/ghec-2022-11-28/schema.json

Lines changed: 58 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -210430,11 +210430,20 @@
210430210430
]
210431210431
},
210432210432
"budget_type": {
210433-
"type": "string",
210434210433
"description": "The type of pricing for the budget",
210435-
"enum": [
210436-
"SkuPricing",
210437-
"ProductPricing"
210434+
"oneOf": [
210435+
{
210436+
"type": "string",
210437+
"enum": [
210438+
"SkuPricing"
210439+
]
210440+
},
210441+
{
210442+
"type": "string",
210443+
"enum": [
210444+
"ProductPricing"
210445+
]
210446+
}
210438210447
],
210439210448
"examples": [
210440210449
"SkuPricing"
@@ -210626,11 +210635,7 @@
210626210635
"name": "budget_type",
210627210636
"in": "body",
210628210637
"description": "<p>The type of pricing for the budget</p>",
210629-
"isRequired": true,
210630-
"enum": [
210631-
"ProductPricing",
210632-
"SkuPricing"
210633-
]
210638+
"isRequired": true
210634210639
},
210635210640
{
210636210641
"type": "string",
@@ -210728,11 +210733,20 @@
210728210733
]
210729210734
},
210730210735
"budget_type": {
210731-
"type": "string",
210732210736
"description": "The type of pricing for the budget",
210733-
"enum": [
210734-
"ProductPricing",
210735-
"SkuPricing"
210737+
"oneOf": [
210738+
{
210739+
"type": "string",
210740+
"enum": [
210741+
"ProductPricing"
210742+
]
210743+
},
210744+
{
210745+
"type": "string",
210746+
"enum": [
210747+
"SkuPricing"
210748+
]
210749+
}
210736210750
],
210737210751
"examples": [
210738210752
"ProductPricing"
@@ -210916,11 +210930,20 @@
210916210930
]
210917210931
},
210918210932
"budget_type": {
210919-
"type": "string",
210920210933
"description": "The type of pricing for the budget",
210921-
"enum": [
210922-
"ProductPricing",
210923-
"SkuPricing"
210934+
"oneOf": [
210935+
{
210936+
"type": "string",
210937+
"enum": [
210938+
"ProductPricing"
210939+
]
210940+
},
210941+
{
210942+
"type": "string",
210943+
"enum": [
210944+
"SkuPricing"
210945+
]
210946+
}
210924210947
],
210925210948
"examples": [
210926210949
"ProductPricing"
@@ -211078,11 +211101,7 @@
211078211101
"type": "string",
211079211102
"name": "budget_type",
211080211103
"in": "body",
211081-
"description": "<p>The type of pricing for the budget</p>",
211082-
"enum": [
211083-
"ProductPricing",
211084-
"SkuPricing"
211085-
]
211104+
"description": "<p>The type of pricing for the budget</p>"
211086211105
},
211087211106
{
211088211107
"type": "string",
@@ -211193,11 +211212,20 @@
211193211212
]
211194211213
},
211195211214
"budget_type": {
211196-
"type": "string",
211197211215
"description": "The type of pricing for the budget",
211198-
"enum": [
211199-
"ProductPricing",
211200-
"SkuPricing"
211216+
"oneOf": [
211217+
{
211218+
"type": "string",
211219+
"enum": [
211220+
"ProductPricing"
211221+
]
211222+
},
211223+
{
211224+
"type": "string",
211225+
"enum": [
211226+
"SkuPricing"
211227+
]
211228+
}
211201211229
],
211202211230
"examples": [
211203211231
"ProductPricing"
@@ -324648,7 +324676,7 @@
324648324676
"type": "array of strings",
324649324677
"name": "selected_usernames",
324650324678
"in": "body",
324651-
"description": "<p>The usernames of the organization members whose codespaces be billed to the organization.</p>",
324679+
"description": "<p>The usernames of the organization members and outside collaborators whose codespaces should be billed to the organization.</p>",
324652324680
"isRequired": true
324653324681
}
324654324682
],
@@ -324737,7 +324765,7 @@
324737324765
"type": "array of strings",
324738324766
"name": "selected_usernames",
324739324767
"in": "body",
324740-
"description": "<p>The usernames of the organization members whose codespaces should not be billed to the organization.</p>",
324768+
"description": "<p>The usernames of the organization members and outside collaborators whose codespaces should not be billed to the organization.</p>",
324741324769
"isRequired": true
324742324770
}
324743324771
],
@@ -591256,7 +591284,8 @@
591256591284
"enum": [
591257591285
"deployed",
591258591286
"decommissioned"
591259-
]
591287+
],
591288+
"default": "deployed"
591260591289
},
591261591290
{
591262591291
"type": "string",

src/rest/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@
5353
]
5454
}
5555
},
56-
"sha": "ee16ba11e8b42e2c895b223c206eb1cebfb9cc62"
56+
"sha": "1f6b671050a3d8584111edcd52e6818892e9b4c9"
5757
}

src/webhooks/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"sha": "ee16ba11e8b42e2c895b223c206eb1cebfb9cc62"
2+
"sha": "1f6b671050a3d8584111edcd52e6818892e9b4c9"
33
}

0 commit comments

Comments
 (0)