diff options
author | github-openapi-bot <security+github-openapi-bot@github.com> | 2022-08-15 13:48:49 -0700 |
---|---|---|
committer | github-openapi-bot <security+github-openapi-bot@github.com> | 2022-08-15 13:48:49 -0700 |
commit | f9305d43799fa023b6e8e63e3f467e7036605015 (patch) | |
tree | 6769817100895502bddeae5a6c5a3472600ed205 /descriptions-next/api.github.com | |
parent | b552a1880d330a0aed548e5a9a2b1d9501e85af7 (diff) | |
download | rest-api-description-f9305d43799fa023b6e8e63e3f467e7036605015.tar.gz rest-api-description-f9305d43799fa023b6e8e63e3f467e7036605015.zip |
Update OpenAPI 3.1 Descriptions
Diffstat (limited to 'descriptions-next/api.github.com')
4 files changed, 80 insertions, 6 deletions
diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index fefdcafc4..e857f1958 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -27868,8 +27868,8 @@ "examples": { "default": { "value": { - "repository_id": 1, - "ref": "main" + "ref": "main", + "machine": "standardLinux32gb" } } } @@ -27907,6 +27907,9 @@ } } }, + "400": { + "$ref": "#/components/responses/bad_request" + }, "401": { "$ref": "#/components/responses/requires_authentication" }, diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index db2c55375..2ccb42044 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -19955,8 +19955,8 @@ paths: examples: default: value: - repository_id: 1 ref: main + machine: standardLinux32gb responses: '201': description: Response when the codespace was successfully created @@ -19977,6 +19977,8 @@ paths: examples: default: "$ref": "#/components/examples/codespace" + '400': + "$ref": "#/components/responses/bad_request" '401': "$ref": "#/components/responses/requires_authentication" '403': diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 48d43958b..16578a018 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -242553,8 +242553,8 @@ "examples": { "default": { "value": { - "repository_id": 1, - "ref": "main" + "ref": "main", + "machine": "standardLinux32gb" } } } @@ -248508,6 +248508,74 @@ } } }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, "401": { "description": "Requires authentication", "content": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 2b092f851..b39924339 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -42803,8 +42803,8 @@ paths: examples: default: value: - repository_id: 1 ref: main + machine: standardLinux32gb responses: '201': description: Response when the codespace was successfully created @@ -42821,6 +42821,7 @@ paths: schema: *154 examples: default: *293 + '400': *9 '401': *21 '403': *22 '404': *15 |