Skip to content

Commit b0f10b4

Browse files
authored
Update OpenAPI Description (github#41810)
1 parent 6110a0d commit b0f10b4

18 files changed

Lines changed: 33 additions & 37 deletions

File tree

src/github-apps/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "1f8704c8b8b482ce9d19b5be2d64b8c909507f40"
63+
"sha": "5510d0097b4671e408afa4da29456749b30205ff"
6464
}

src/rest/data/fpt-2022-11-28/schema.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225601,8 +225601,6 @@
225601225601
"versionInfo",
225602225602
"downloadLocation",
225603225603
"filesAnalyzed",
225604-
"licenseConcluded",
225605-
"licenseDeclared",
225606225604
"supplier"
225607225605
]
225608225606
}
@@ -240873,7 +240871,7 @@
240873240871
"type": "object",
240874240872
"name": "files",
240875240873
"in": "body",
240876-
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>.</p>",
240874+
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>. The file will also be\ndeleted if the specified object does not contain at least one of <code>content</code> or <code>filename</code>.</p>",
240877240875
"childParamsGroups": [
240878240876
{
240879240877
"type": "object",
@@ -244728,7 +244726,7 @@
244728244726
}
244729244727
],
244730244728
"previews": [],
244731-
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.</p>",
244729+
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of <code>description</code> or <code>files</code> is required.</p>",
244732244730
"statusCodes": [
244733244731
{
244734244732
"httpStatusCode": "200",

src/rest/data/ghae/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158215,7 +158215,7 @@
158215158215
"type": "object",
158216158216
"name": "files",
158217158217
"in": "body",
158218-
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>.</p>",
158218+
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>. The file will also be\ndeleted if the specified object does not contain at least one of <code>content</code> or <code>filename</code>.</p>",
158219158219
"childParamsGroups": [
158220158220
{
158221158221
"type": "object",
@@ -162070,7 +162070,7 @@
162070162070
}
162071162071
],
162072162072
"previews": [],
162073-
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.</p>",
162073+
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of <code>description</code> or <code>files</code> is required.</p>",
162074162074
"statusCodes": [
162075162075
{
162076162076
"httpStatusCode": "200",

src/rest/data/ghec-2022-11-28/schema.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237300,8 +237300,6 @@
237300237300
"versionInfo",
237301237301
"downloadLocation",
237302237302
"filesAnalyzed",
237303-
"licenseConcluded",
237304-
"licenseDeclared",
237305237303
"supplier"
237306237304
]
237307237305
}
@@ -259673,7 +259671,7 @@
259673259671
"type": "object",
259674259672
"name": "files",
259675259673
"in": "body",
259676-
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>.</p>",
259674+
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>. The file will also be\ndeleted if the specified object does not contain at least one of <code>content</code> or <code>filename</code>.</p>",
259677259675
"childParamsGroups": [
259678259676
{
259679259677
"type": "object",
@@ -263528,7 +263526,7 @@
263528263526
}
263529263527
],
263530263528
"previews": [],
263531-
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.</p>",
263529+
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of <code>description</code> or <code>files</code> is required.</p>",
263532263530
"statusCodes": [
263533263531
{
263534263532
"httpStatusCode": "200",

src/rest/data/ghes-3.10-2022-11-28/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222651,7 +222651,7 @@
222651222651
"type": "object",
222652222652
"name": "files",
222653222653
"in": "body",
222654-
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>.</p>",
222654+
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>. The file will also be\ndeleted if the specified object does not contain at least one of <code>content</code> or <code>filename</code>.</p>",
222655222655
"childParamsGroups": [
222656222656
{
222657222657
"type": "object",
@@ -226506,7 +226506,7 @@
226506226506
}
226507226507
],
226508226508
"previews": [],
226509-
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.</p>",
226509+
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of <code>description</code> or <code>files</code> is required.</p>",
226510226510
"statusCodes": [
226511226511
{
226512226512
"httpStatusCode": "200",

src/rest/data/ghes-3.6/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204583,7 +204583,7 @@
204583204583
"type": "object",
204584204584
"name": "files",
204585204585
"in": "body",
204586-
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>.</p>",
204586+
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>. The file will also be\ndeleted if the specified object does not contain at least one of <code>content</code> or <code>filename</code>.</p>",
204587204587
"childParamsGroups": [
204588204588
{
204589204589
"type": "object",
@@ -208438,7 +208438,7 @@
208438208438
}
208439208439
],
208440208440
"previews": [],
208441-
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.</p>",
208441+
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of <code>description</code> or <code>files</code> is required.</p>",
208442208442
"statusCodes": [
208443208443
{
208444208444
"httpStatusCode": "200",

src/rest/data/ghes-3.7/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207412,7 +207412,7 @@
207412207412
"type": "object",
207413207413
"name": "files",
207414207414
"in": "body",
207415-
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>.</p>",
207415+
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>. The file will also be\ndeleted if the specified object does not contain at least one of <code>content</code> or <code>filename</code>.</p>",
207416207416
"childParamsGroups": [
207417207417
{
207418207418
"type": "object",
@@ -211267,7 +211267,7 @@
211267211267
}
211268211268
],
211269211269
"previews": [],
211270-
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.</p>",
211270+
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of <code>description</code> or <code>files</code> is required.</p>",
211271211271
"statusCodes": [
211272211272
{
211273211273
"httpStatusCode": "200",

src/rest/data/ghes-3.8/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217449,7 +217449,7 @@
217449217449
"type": "object",
217450217450
"name": "files",
217451217451
"in": "body",
217452-
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>.</p>",
217452+
"description": "<p>The gist files to be updated, renamed, or deleted. Each <code>key</code> must match the current filename\n(including extension) of the targeted gist file. For example: <code>hello.py</code>.</p>\n<p>To delete a file, set the whole file to null. For example: <code>hello.py : null</code>. The file will also be\ndeleted if the specified object does not contain at least one of <code>content</code> or <code>filename</code>.</p>",
217453217453
"childParamsGroups": [
217454217454
{
217455217455
"type": "object",
@@ -221304,7 +221304,7 @@
221304221304
}
221305221305
],
221306221306
"previews": [],
221307-
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.</p>",
221307+
"descriptionHTML": "<p>Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of <code>description</code> or <code>files</code> is required.</p>",
221308221308
"statusCodes": [
221309221309
{
221310221310
"httpStatusCode": "200",

0 commit comments

Comments
 (0)