Skip to content

Commit cb2a778

Browse files
Update OpenAPI 3.0 Descriptions
1 parent 883ec92 commit cb2a778

8 files changed

Lines changed: 256 additions & 4 deletions

File tree

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

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55142,13 +55142,51 @@
5514255142
"properties": {
5514355143
"message": {
5514455144
"type": "string"
55145+
},
55146+
"reassigned_resources": {
55147+
"type": "array",
55148+
"nullable": true,
55149+
"items": {
55150+
"type": "object",
55151+
"properties": {
55152+
"resource_type": {
55153+
"type": "string",
55154+
"description": "The type of resource that was reassigned."
55155+
},
55156+
"name": {
55157+
"type": "string",
55158+
"description": "The name of the resource that was reassigned."
55159+
},
55160+
"previous_cost_center": {
55161+
"type": "string",
55162+
"description": "The previous cost center of the resource."
55163+
}
55164+
}
55165+
}
5514555166
}
5514655167
}
5514755168
},
5514855169
"examples": {
5514955170
"default": {
5515055171
"value": {
55151-
"message": "Resources successfully added to the cost center."
55172+
"message": "Resources successfully added to the cost center.",
55173+
"reassigned_resources": [
55174+
{
55175+
"resource_type": "user",
55176+
"name": "monalisa",
55177+
"previous_cost_center": "old-cost-center"
55178+
},
55179+
{
55180+
"resource_type": "organization",
55181+
"name": "octo-org",
55182+
"previous_cost_center": "another-cost-center"
55183+
},
55184+
{
55185+
"resource_type": "repository",
55186+
"name": "octo-repo",
55187+
"previous_cost_center": "yet-another-cost-center"
55188+
}
55189+
]
5515255190
}
5515355191
}
5515455192
}

0 commit comments

Comments
 (0)