From 9f0140b9ce989f559892d9249ded64bf144c3c6a Mon Sep 17 00:00:00 2001 From: github-openapi-bot Date: Tue, 26 Aug 2025 10:36:42 -0700 Subject: [PATCH] Update OpenAPI 3.1 Descriptions --- .../dereferenced/ghec.2022-11-28.deref.json | 42 ++++++++++++++++++- .../dereferenced/ghec.2022-11-28.deref.yaml | 26 ++++++++++++ .../ghec/dereferenced/ghec.deref.json | 42 ++++++++++++++++++- .../ghec/dereferenced/ghec.deref.yaml | 26 ++++++++++++ descriptions-next/ghec/ghec.2022-11-28.json | 42 ++++++++++++++++++- descriptions-next/ghec/ghec.2022-11-28.yaml | 26 ++++++++++++ descriptions-next/ghec/ghec.json | 42 ++++++++++++++++++- descriptions-next/ghec/ghec.yaml | 26 ++++++++++++ 8 files changed, 268 insertions(+), 4 deletions(-) diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 4b8c5c9be5..3fc6f5e4d9 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -60133,13 +60133,53 @@ "properties": { "message": { "type": "string" + }, + "reassigned_resources": { + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "resource_type": { + "type": "string", + "description": "The type of resource that was reassigned." + }, + "name": { + "type": "string", + "description": "The name of the resource that was reassigned." + }, + "previous_cost_center": { + "type": "string", + "description": "The previous cost center of the resource." + } + } + } } } }, "examples": { "default": { "value": { - "message": "Resources successfully added to the cost center." + "message": "Resources successfully added to the cost center.", + "reassigned_resources": [ + { + "resource_type": "user", + "name": "monalisa", + "previous_cost_center": "old-cost-center" + }, + { + "resource_type": "organization", + "name": "octo-org", + "previous_cost_center": "another-cost-center" + }, + { + "resource_type": "repository", + "name": "octo-repo", + "previous_cost_center": "yet-another-cost-center" + } + ] } } } diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index cc92a452a7..806aeaf9db 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -20815,10 +20815,36 @@ paths: properties: message: type: string + reassigned_resources: + type: + - array + - 'null' + items: + type: object + properties: + resource_type: + type: string + description: The type of resource that was reassigned. + name: + type: string + description: The name of the resource that was reassigned. + previous_cost_center: + type: string + description: The previous cost center of the resource. examples: default: value: message: Resources successfully added to the cost center. + reassigned_resources: + - resource_type: user + name: monalisa + previous_cost_center: old-cost-center + - resource_type: organization + name: octo-org + previous_cost_center: another-cost-center + - resource_type: repository + name: octo-repo + previous_cost_center: yet-another-cost-center '400': *14 '403': *27 '409': *100 diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 4b8c5c9be5..3fc6f5e4d9 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -60133,13 +60133,53 @@ "properties": { "message": { "type": "string" + }, + "reassigned_resources": { + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "resource_type": { + "type": "string", + "description": "The type of resource that was reassigned." + }, + "name": { + "type": "string", + "description": "The name of the resource that was reassigned." + }, + "previous_cost_center": { + "type": "string", + "description": "The previous cost center of the resource." + } + } + } } } }, "examples": { "default": { "value": { - "message": "Resources successfully added to the cost center." + "message": "Resources successfully added to the cost center.", + "reassigned_resources": [ + { + "resource_type": "user", + "name": "monalisa", + "previous_cost_center": "old-cost-center" + }, + { + "resource_type": "organization", + "name": "octo-org", + "previous_cost_center": "another-cost-center" + }, + { + "resource_type": "repository", + "name": "octo-repo", + "previous_cost_center": "yet-another-cost-center" + } + ] } } } diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index cc92a452a7..806aeaf9db 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -20815,10 +20815,36 @@ paths: properties: message: type: string + reassigned_resources: + type: + - array + - 'null' + items: + type: object + properties: + resource_type: + type: string + description: The type of resource that was reassigned. + name: + type: string + description: The name of the resource that was reassigned. + previous_cost_center: + type: string + description: The previous cost center of the resource. examples: default: value: message: Resources successfully added to the cost center. + reassigned_resources: + - resource_type: user + name: monalisa + previous_cost_center: old-cost-center + - resource_type: organization + name: octo-org + previous_cost_center: another-cost-center + - resource_type: repository + name: octo-repo + previous_cost_center: yet-another-cost-center '400': *14 '403': *27 '409': *100 diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 9e36487599..bc08ee3bb2 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -335440,13 +335440,53 @@ "properties": { "message": { "type": "string" + }, + "reassigned_resources": { + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "resource_type": { + "type": "string", + "description": "The type of resource that was reassigned." + }, + "name": { + "type": "string", + "description": "The name of the resource that was reassigned." + }, + "previous_cost_center": { + "type": "string", + "description": "The previous cost center of the resource." + } + } + } } } }, "examples": { "default": { "value": { - "message": "Resources successfully added to the cost center." + "message": "Resources successfully added to the cost center.", + "reassigned_resources": [ + { + "resource_type": "user", + "name": "monalisa", + "previous_cost_center": "old-cost-center" + }, + { + "resource_type": "organization", + "name": "octo-org", + "previous_cost_center": "another-cost-center" + }, + { + "resource_type": "repository", + "name": "octo-repo", + "previous_cost_center": "yet-another-cost-center" + } + ] } } } diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index e58c8281e9..4d6638893b 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -250522,10 +250522,36 @@ components: properties: message: type: string + reassigned_resources: + type: + - array + - 'null' + items: + type: object + properties: + resource_type: + type: string + description: The type of resource that was reassigned. + name: + type: string + description: The name of the resource that was reassigned. + previous_cost_center: + type: string + description: The previous cost center of the resource. examples: default: value: message: Resources successfully added to the cost center. + reassigned_resources: + - resource_type: user + name: monalisa + previous_cost_center: old-cost-center + - resource_type: organization + name: octo-org + previous_cost_center: another-cost-center + - resource_type: repository + name: octo-repo + previous_cost_center: yet-another-cost-center remove_resource_from_cost_center: description: Response when removing resources from a cost center content: diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 9e36487599..bc08ee3bb2 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -335440,13 +335440,53 @@ "properties": { "message": { "type": "string" + }, + "reassigned_resources": { + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "resource_type": { + "type": "string", + "description": "The type of resource that was reassigned." + }, + "name": { + "type": "string", + "description": "The name of the resource that was reassigned." + }, + "previous_cost_center": { + "type": "string", + "description": "The previous cost center of the resource." + } + } + } } } }, "examples": { "default": { "value": { - "message": "Resources successfully added to the cost center." + "message": "Resources successfully added to the cost center.", + "reassigned_resources": [ + { + "resource_type": "user", + "name": "monalisa", + "previous_cost_center": "old-cost-center" + }, + { + "resource_type": "organization", + "name": "octo-org", + "previous_cost_center": "another-cost-center" + }, + { + "resource_type": "repository", + "name": "octo-repo", + "previous_cost_center": "yet-another-cost-center" + } + ] } } } diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index e58c8281e9..4d6638893b 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -250522,10 +250522,36 @@ components: properties: message: type: string + reassigned_resources: + type: + - array + - 'null' + items: + type: object + properties: + resource_type: + type: string + description: The type of resource that was reassigned. + name: + type: string + description: The name of the resource that was reassigned. + previous_cost_center: + type: string + description: The previous cost center of the resource. examples: default: value: message: Resources successfully added to the cost center. + reassigned_resources: + - resource_type: user + name: monalisa + previous_cost_center: old-cost-center + - resource_type: organization + name: octo-org + previous_cost_center: another-cost-center + - resource_type: repository + name: octo-repo + previous_cost_center: yet-another-cost-center remove_resource_from_cost_center: description: Response when removing resources from a cost center content: