Skip to content

Commit 44ce997

Browse files
authored
Merge pull request #3039 from github/openapi-update-beb65226f322c7fb7bb24341ba90b9d7b75000374d796e1775d19105c9a1726e
Update OpenAPI 3.1 Descriptions
2 parents dbb6739 + 4030f02 commit 44ce997

16 files changed

+204
-24
lines changed

descriptions-next/api.github.com/api.github.com.2022-11-28.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104256,6 +104256,13 @@
104256104256
"type": "string",
104257104257
"format": "uri",
104258104258
"description": "The URL at which to download the CodeQL database. The `Accept` header must be set to the value of the `content_type` property."
104259+
},
104260+
"commit_oid": {
104261+
"type": [
104262+
"string",
104263+
"null"
104264+
],
104265+
"description": "The commit SHA of the CodeQL databases repository at time of database creation."
104259104266
}
104260104267
},
104261104268
"required": [
@@ -298178,7 +298185,8 @@
298178298185
"size": 1024,
298179298186
"created_at": "2022-09-12T12:14:32Z",
298180298187
"updated_at": "2022-09-12T12:14:32Z",
298181-
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java"
298188+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java",
298189+
"commit_oid": 12345678901234567890
298182298190
},
298183298191
{
298184298192
"id": 2,
@@ -298208,7 +298216,8 @@
298208298216
"size": 1024,
298209298217
"created_at": "2022-09-12T12:14:32Z",
298210298218
"updated_at": "2022-09-12T12:14:32Z",
298211-
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby"
298219+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby",
298220+
"commit_oid": 23456789012345678901
298212298221
}
298213298222
]
298214298223
},
@@ -298241,7 +298250,8 @@
298241298250
"size": 1024,
298242298251
"created_at": "2022-09-12T12:14:32Z",
298243298252
"updated_at": "2022-09-12T12:14:32Z",
298244-
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java"
298253+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java",
298254+
"commit_oid": 12345678901234567890
298245298255
}
298246298256
},
298247298257
"code-scanning-default-setup": {

descriptions-next/api.github.com/api.github.com.2022-11-28.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74666,6 +74666,12 @@ components:
7466674666
format: uri
7466774667
description: The URL at which to download the CodeQL database. The `Accept`
7466874668
header must be set to the value of the `content_type` property.
74669+
commit_oid:
74670+
type:
74671+
- string
74672+
- 'null'
74673+
description: The commit SHA of the CodeQL databases repository at time of
74674+
database creation.
7466974675
required:
7467074676
- id
7467174677
- name
@@ -220275,6 +220281,7 @@ components:
220275220281
created_at: '2022-09-12T12:14:32Z'
220276220282
updated_at: '2022-09-12T12:14:32Z'
220277220283
url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java
220284+
commit_oid: 12345678901234567890
220278220285
- id: 2
220279220286
name: database.zip
220280220287
language: ruby
@@ -220302,6 +220309,7 @@ components:
220302220309
created_at: '2022-09-12T12:14:32Z'
220303220310
updated_at: '2022-09-12T12:14:32Z'
220304220311
url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby
220312+
commit_oid: 23456789012345678901
220305220313
code-scanning-codeql-database:
220306220314
value:
220307220315
id: 1
@@ -220331,6 +220339,7 @@ components:
220331220339
created_at: '2022-09-12T12:14:32Z'
220332220340
updated_at: '2022-09-12T12:14:32Z'
220333220341
url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java
220342+
commit_oid: 12345678901234567890
220334220343
code-scanning-default-setup:
220335220344
value:
220336220345
state: configured

descriptions-next/api.github.com/api.github.com.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104256,6 +104256,13 @@
104256104256
"type": "string",
104257104257
"format": "uri",
104258104258
"description": "The URL at which to download the CodeQL database. The `Accept` header must be set to the value of the `content_type` property."
104259+
},
104260+
"commit_oid": {
104261+
"type": [
104262+
"string",
104263+
"null"
104264+
],
104265+
"description": "The commit SHA of the CodeQL databases repository at time of database creation."
104259104266
}
104260104267
},
104261104268
"required": [
@@ -298178,7 +298185,8 @@
298178298185
"size": 1024,
298179298186
"created_at": "2022-09-12T12:14:32Z",
298180298187
"updated_at": "2022-09-12T12:14:32Z",
298181-
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java"
298188+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java",
298189+
"commit_oid": 12345678901234567890
298182298190
},
298183298191
{
298184298192
"id": 2,
@@ -298208,7 +298216,8 @@
298208298216
"size": 1024,
298209298217
"created_at": "2022-09-12T12:14:32Z",
298210298218
"updated_at": "2022-09-12T12:14:32Z",
298211-
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby"
298219+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby",
298220+
"commit_oid": 23456789012345678901
298212298221
}
298213298222
]
298214298223
},
@@ -298241,7 +298250,8 @@
298241298250
"size": 1024,
298242298251
"created_at": "2022-09-12T12:14:32Z",
298243298252
"updated_at": "2022-09-12T12:14:32Z",
298244-
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java"
298253+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java",
298254+
"commit_oid": 12345678901234567890
298245298255
}
298246298256
},
298247298257
"code-scanning-default-setup": {

0 commit comments

Comments
 (0)