Skip to content

Commit 9f0140b

Browse files
Update OpenAPI 3.1 Descriptions
1 parent 883ec92 commit 9f0140b

File tree

8 files changed

+268
-4
lines changed

8 files changed

+268
-4
lines changed

descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60133,13 +60133,53 @@
6013360133
"properties": {
6013460134
"message": {
6013560135
"type": "string"
60136+
},
60137+
"reassigned_resources": {
60138+
"type": [
60139+
"array",
60140+
"null"
60141+
],
60142+
"items": {
60143+
"type": "object",
60144+
"properties": {
60145+
"resource_type": {
60146+
"type": "string",
60147+
"description": "The type of resource that was reassigned."
60148+
},
60149+
"name": {
60150+
"type": "string",
60151+
"description": "The name of the resource that was reassigned."
60152+
},
60153+
"previous_cost_center": {
60154+
"type": "string",
60155+
"description": "The previous cost center of the resource."
60156+
}
60157+
}
60158+
}
6013660159
}
6013760160
}
6013860161
},
6013960162
"examples": {
6014060163
"default": {
6014160164
"value": {
60142-
"message": "Resources successfully added to the cost center."
60165+
"message": "Resources successfully added to the cost center.",
60166+
"reassigned_resources": [
60167+
{
60168+
"resource_type": "user",
60169+
"name": "monalisa",
60170+
"previous_cost_center": "old-cost-center"
60171+
},
60172+
{
60173+
"resource_type": "organization",
60174+
"name": "octo-org",
60175+
"previous_cost_center": "another-cost-center"
60176+
},
60177+
{
60178+
"resource_type": "repository",
60179+
"name": "octo-repo",
60180+
"previous_cost_center": "yet-another-cost-center"
60181+
}
60182+
]
6014360183
}
6014460184
}
6014560185
}

0 commit comments

Comments
 (0)