Skip to content

Commit 0b26ed9

Browse files
docs-botmchammer01
andauthored
Update OpenAPI Description (#57222)
Co-authored-by: mc <[email protected]>
1 parent fd1fd65 commit 0b26ed9

File tree

9 files changed

+456
-287
lines changed

9 files changed

+456
-287
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": "be7ab77fe22b3672d19347090cec2e7a6208183e"
63+
"sha": "c0095ad2d59ab7f96765b485e80657d05d1affc7"
6464
}

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552072,6 +552072,13 @@
552072552072
"examples": [
552073552073
true
552074552074
]
552075+
},
552076+
"updated_at": {
552077+
"type": [
552078+
"string",
552079+
"null"
552080+
],
552081+
"format": "date-time"
552075552082
}
552076552083
},
552077552084
"required": [
@@ -552212,6 +552219,13 @@
552212552219
"examples": [
552213552220
true
552214552221
]
552222+
},
552223+
"updated_at": {
552224+
"type": [
552225+
"string",
552226+
"null"
552227+
],
552228+
"format": "date-time"
552215552229
}
552216552230
},
552217552231
"required": [
@@ -552337,6 +552351,13 @@
552337552351
"examples": [
552338552352
true
552339552353
]
552354+
},
552355+
"updated_at": {
552356+
"type": [
552357+
"string",
552358+
"null"
552359+
],
552360+
"format": "date-time"
552340552361
}
552341552362
},
552342552363
"required": [

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

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289263,6 +289263,13 @@
289263289263
"type": "string",
289264289264
"description": "Name of the cost center."
289265289265
},
289266+
"description": {
289267+
"type": "string",
289268+
"description": "Description of the cost center.",
289269+
"x-github": {
289270+
"featureFlag": "billing_add_cost_center_description"
289271+
}
289272+
},
289266289273
"state": {
289267289274
"type": "string",
289268289275
"description": "State of the cost center.",
@@ -289361,6 +289368,12 @@
289361289368
"in": "body",
289362289369
"description": "<p>The name of the cost center (max length 255 characters)</p>",
289363289370
"isRequired": true
289371+
},
289372+
{
289373+
"type": "string",
289374+
"name": "description",
289375+
"in": "body",
289376+
"description": "<p>The description of the cost center.</p>"
289364289377
}
289365289378
],
289366289379
"progAccess": {
@@ -289377,7 +289390,8 @@
289377289390
"description": "Example request to create a cost center",
289378289391
"acceptHeader": "application/vnd.github.v3+json",
289379289392
"bodyParameters": {
289380-
"name": "Engineering Team"
289393+
"name": "Engineering Team",
289394+
"description": "Software development, DevOps, and platform engineering expenses"
289381289395
},
289382289396
"parameters": {
289383289397
"enterprise": "ENTERPRISE"
@@ -289390,6 +289404,7 @@
289390289404
"example": {
289391289405
"id": "abc123",
289392289406
"name": "Engineering Team",
289407+
"description": "Software development, DevOps, and platform engineering expenses",
289393289408
"resources": []
289394289409
},
289395289410
"schema": {
@@ -289403,6 +289418,13 @@
289403289418
"type": "string",
289404289419
"description": "Name of the cost center"
289405289420
},
289421+
"description": {
289422+
"type": "string",
289423+
"description": "The description of the cost center.",
289424+
"x-github": {
289425+
"featureFlag": "billing_add_cost_center_description"
289426+
}
289427+
},
289406289428
"azure_subscription": {
289407289429
"type": [
289408289430
"string",
@@ -289537,6 +289559,13 @@
289537289559
"type": "string",
289538289560
"description": "Name of the cost center."
289539289561
},
289562+
"description": {
289563+
"type": "string",
289564+
"description": "Description of the cost center.",
289565+
"x-github": {
289566+
"featureFlag": "billing_add_cost_center_description"
289567+
}
289568+
},
289540289569
"azure_subscription": {
289541289570
"type": [
289542289571
"string",
@@ -289641,6 +289670,12 @@
289641289670
"in": "body",
289642289671
"description": "<p>The new name for the cost center</p>",
289643289672
"isRequired": true
289673+
},
289674+
{
289675+
"type": "string",
289676+
"name": "description",
289677+
"in": "body",
289678+
"description": "<p>The new description for the cost center</p>"
289644289679
}
289645289680
],
289646289681
"progAccess": {
@@ -289657,7 +289692,8 @@
289657289692
"description": "Update cost center name example",
289658289693
"acceptHeader": "application/vnd.github.v3+json",
289659289694
"bodyParameters": {
289660-
"name": "New Cost Center Name"
289695+
"name": "New Cost Center Name",
289696+
"description": "Updated description for the cost center"
289661289697
},
289662289698
"parameters": {
289663289699
"enterprise": "ENTERPRISE",
@@ -289695,6 +289731,13 @@
289695289731
"type": "string",
289696289732
"description": "Name of the cost center."
289697289733
},
289734+
"description": {
289735+
"type": "string",
289736+
"description": "Description of the cost center.",
289737+
"x-github": {
289738+
"featureFlag": "billing_add_cost_center_description"
289739+
}
289740+
},
289698289741
"azure_subscription": {
289699289742
"type": [
289700289743
"string",
@@ -595363,6 +595406,13 @@
595363595406
"examples": [
595364595407
true
595365595408
]
595409+
},
595410+
"updated_at": {
595411+
"type": [
595412+
"string",
595413+
"null"
595414+
],
595415+
"format": "date-time"
595366595416
}
595367595417
},
595368595418
"required": [
@@ -595503,6 +595553,13 @@
595503595553
"examples": [
595504595554
true
595505595555
]
595556+
},
595557+
"updated_at": {
595558+
"type": [
595559+
"string",
595560+
"null"
595561+
],
595562+
"format": "date-time"
595506595563
}
595507595564
},
595508595565
"required": [
@@ -595628,6 +595685,13 @@
595628595685
"examples": [
595629595686
true
595630595687
]
595688+
},
595689+
"updated_at": {
595690+
"type": [
595691+
"string",
595692+
"null"
595693+
],
595694+
"format": "date-time"
595631595695
}
595632595696
},
595633595697
"required": [

src/rest/data/ghes-3.14-2022-11-28/schema.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472180,6 +472180,13 @@
472180472180
"examples": [
472181472181
true
472182472182
]
472183+
},
472184+
"updated_at": {
472185+
"type": [
472186+
"string",
472187+
"null"
472188+
],
472189+
"format": "date-time"
472183472190
}
472184472191
},
472185472192
"required": [
@@ -472320,6 +472327,13 @@
472320472327
"examples": [
472321472328
true
472322472329
]
472330+
},
472331+
"updated_at": {
472332+
"type": [
472333+
"string",
472334+
"null"
472335+
],
472336+
"format": "date-time"
472323472337
}
472324472338
},
472325472339
"required": [
@@ -472445,6 +472459,13 @@
472445472459
"examples": [
472446472460
true
472447472461
]
472462+
},
472463+
"updated_at": {
472464+
"type": [
472465+
"string",
472466+
"null"
472467+
],
472468+
"format": "date-time"
472448472469
}
472449472470
},
472450472471
"required": [

0 commit comments

Comments
 (0)