From deb4ae70079ac6b0d67d68555bb440e7ffec85eb Mon Sep 17 00:00:00 2001 From: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com> Date: Fri, 12 Nov 2021 15:48:36 -0500 Subject: [PATCH] Update OpenAPI Descriptions (#22807) Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> --- .../dereferenced/api.github.com.deref.json | 220 ++++++++++++++++-- .../static/dereferenced/ghes-3.0.deref.json | 24 ++ .../static/dereferenced/ghes-3.1.deref.json | 24 ++ .../static/dereferenced/ghes-3.2.deref.json | 24 ++ .../static/dereferenced/ghes-3.3.deref.json | 24 ++ .../static/dereferenced/github.ae.deref.json | 24 ++ 6 files changed, 326 insertions(+), 14 deletions(-) diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index 446b833c70..df061d7579 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -114991,6 +114991,30 @@ "reset", "used" ] + }, + "scim": { + "title": "Rate Limit", + "type": "object", + "properties": { + "limit": { + "type": "integer" + }, + "remaining": { + "type": "integer" + }, + "reset": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "required": [ + "limit", + "remaining", + "reset", + "used" + ] } }, "required": [ @@ -183369,6 +183393,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -183377,7 +183412,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -186124,6 +186160,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -186132,7 +186179,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -188407,6 +188455,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -188415,7 +188474,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -188904,6 +188964,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -188912,7 +188983,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ] } } @@ -319841,6 +319913,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -319849,7 +319932,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -322124,6 +322208,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -322132,7 +322227,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -386325,6 +386421,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -386333,7 +386440,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -389114,6 +389222,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -389122,7 +389241,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -391397,6 +391517,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -391405,7 +391536,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -397057,6 +397189,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -397065,7 +397208,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -399497,6 +399641,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -399505,7 +399660,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -400125,6 +400281,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -400133,7 +400300,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ] } } @@ -402271,6 +402439,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -402279,7 +402458,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, @@ -404806,6 +404986,17 @@ "type": "integer", "description": "How many cores are available to the codespace.", "example": 4 + }, + "prebuild_availability": { + "type": "string", + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.", + "example": "blob", + "enum": [ + "none", + "blob", + "pool" + ], + "nullable": true } }, "required": [ @@ -404814,7 +405005,8 @@ "operating_system", "storage_in_bytes", "memory_in_bytes", - "cpus" + "cpus", + "prebuild_availability" ], "nullable": true }, diff --git a/lib/rest/static/dereferenced/ghes-3.0.deref.json b/lib/rest/static/dereferenced/ghes-3.0.deref.json index 8d29d1372e..c291a190d6 100644 --- a/lib/rest/static/dereferenced/ghes-3.0.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.0.deref.json @@ -99764,6 +99764,30 @@ "reset", "used" ] + }, + "scim": { + "title": "Rate Limit", + "type": "object", + "properties": { + "limit": { + "type": "integer" + }, + "remaining": { + "type": "integer" + }, + "reset": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "required": [ + "limit", + "remaining", + "reset", + "used" + ] } }, "required": [ diff --git a/lib/rest/static/dereferenced/ghes-3.1.deref.json b/lib/rest/static/dereferenced/ghes-3.1.deref.json index 5e581bcfa5..64aba6fbe2 100644 --- a/lib/rest/static/dereferenced/ghes-3.1.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.1.deref.json @@ -100079,6 +100079,30 @@ "reset", "used" ] + }, + "scim": { + "title": "Rate Limit", + "type": "object", + "properties": { + "limit": { + "type": "integer" + }, + "remaining": { + "type": "integer" + }, + "reset": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "required": [ + "limit", + "remaining", + "reset", + "used" + ] } }, "required": [ diff --git a/lib/rest/static/dereferenced/ghes-3.2.deref.json b/lib/rest/static/dereferenced/ghes-3.2.deref.json index d9dff0a103..1a4dcfd36f 100644 --- a/lib/rest/static/dereferenced/ghes-3.2.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.2.deref.json @@ -102059,6 +102059,30 @@ "reset", "used" ] + }, + "scim": { + "title": "Rate Limit", + "type": "object", + "properties": { + "limit": { + "type": "integer" + }, + "remaining": { + "type": "integer" + }, + "reset": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "required": [ + "limit", + "remaining", + "reset", + "used" + ] } }, "required": [ diff --git a/lib/rest/static/dereferenced/ghes-3.3.deref.json b/lib/rest/static/dereferenced/ghes-3.3.deref.json index 25e0846c4f..7b73d6aa53 100644 --- a/lib/rest/static/dereferenced/ghes-3.3.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.3.deref.json @@ -104559,6 +104559,30 @@ "reset", "used" ] + }, + "scim": { + "title": "Rate Limit", + "type": "object", + "properties": { + "limit": { + "type": "integer" + }, + "remaining": { + "type": "integer" + }, + "reset": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "required": [ + "limit", + "remaining", + "reset", + "used" + ] } }, "required": [ diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json index 1925812e05..d30dffcca0 100644 --- a/lib/rest/static/dereferenced/github.ae.deref.json +++ b/lib/rest/static/dereferenced/github.ae.deref.json @@ -72498,6 +72498,30 @@ "reset", "used" ] + }, + "scim": { + "title": "Rate Limit", + "type": "object", + "properties": { + "limit": { + "type": "integer" + }, + "remaining": { + "type": "integer" + }, + "reset": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "required": [ + "limit", + "remaining", + "reset", + "used" + ] } }, "required": [