Skip to content

Commit 3defb9e

Browse files
Update OpenAPI Descriptions
1 parent 50acc25 commit 3defb9e

36 files changed

+35795
-25092
lines changed

descriptions/api.github.com/api.github.com.json

Lines changed: 1247 additions & 240 deletions
Large diffs are not rendered by default.

descriptions/api.github.com/api.github.com.yaml

Lines changed: 1060 additions & 178 deletions
Large diffs are not rendered by default.

descriptions/api.github.com/dereferenced/api.github.com.deref.json

Lines changed: 28784 additions & 21140 deletions
Large diffs are not rendered by default.

descriptions/api.github.com/dereferenced/api.github.com.deref.yaml

Lines changed: 4510 additions & 3502 deletions
Large diffs are not rendered by default.

descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184787,12 +184787,13 @@
184787184787
"content": {
184788184788
"application/json": {
184789184789
"schema": {
184790-
"anyOf": [
184790+
"oneOf": [
184791184791
{
184792184792
"type": "object",
184793184793
"properties": {
184794184794
"labels": {
184795184795
"type": "array",
184796+
"minItems": 1,
184796184797
"description": "The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key.",
184797184798
"items": {
184798184799
"type": "string"
@@ -184802,6 +184803,7 @@
184802184803
},
184803184804
{
184804184805
"type": "array",
184806+
"minItems": 1,
184805184807
"items": {
184806184808
"type": "string"
184807184809
}
@@ -184811,6 +184813,7 @@
184811184813
"properties": {
184812184814
"labels": {
184813184815
"type": "array",
184816+
"minItems": 1,
184814184817
"items": {
184815184818
"type": "object",
184816184819
"properties": {
@@ -184827,6 +184830,7 @@
184827184830
},
184828184831
{
184829184832
"type": "array",
184833+
"minItems": 1,
184830184834
"items": {
184831184835
"type": "object",
184832184836
"properties": {

descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37516,11 +37516,12 @@ paths:
3751637516
content:
3751737517
application/json:
3751837518
schema:
37519-
anyOf:
37519+
oneOf:
3752037520
- type: object
3752137521
properties:
3752237522
labels:
3752337523
type: array
37524+
minItems: 1
3752437525
description: The names of the labels to add to the issue. You
3752537526
can pass an empty array to remove all labels. **Note:** Alternatively,
3752637527
you can pass a single label as a `string` or an `array` of labels
@@ -37529,12 +37530,14 @@ paths:
3752937530
items:
3753037531
type: string
3753137532
- type: array
37533+
minItems: 1
3753237534
items:
3753337535
type: string
3753437536
- type: object
3753537537
properties:
3753637538
labels:
3753737539
type: array
37540+
minItems: 1
3753837541
items:
3753937542
type: object
3754037543
properties:
@@ -37543,6 +37546,7 @@ paths:
3754337546
required:
3754437547
- name
3754537548
- type: array
37549+
minItems: 1
3754637550
items:
3754737551
type: object
3754837552
properties:

descriptions/ghes-2.18/ghes-2.18.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21899,12 +21899,13 @@
2189921899
"content": {
2190021900
"application/json": {
2190121901
"schema": {
21902-
"anyOf": [
21902+
"oneOf": [
2190321903
{
2190421904
"type": "object",
2190521905
"properties": {
2190621906
"labels": {
2190721907
"type": "array",
21908+
"minItems": 1,
2190821909
"description": "The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key.",
2190921910
"items": {
2191021911
"type": "string"
@@ -21914,6 +21915,7 @@
2191421915
},
2191521916
{
2191621917
"type": "array",
21918+
"minItems": 1,
2191721919
"items": {
2191821920
"type": "string"
2191921921
}
@@ -21923,6 +21925,7 @@
2192321925
"properties": {
2192421926
"labels": {
2192521927
"type": "array",
21928+
"minItems": 1,
2192621929
"items": {
2192721930
"type": "object",
2192821931
"properties": {
@@ -21939,6 +21942,7 @@
2193921942
},
2194021943
{
2194121944
"type": "array",
21945+
"minItems": 1,
2194221946
"items": {
2194321947
"type": "object",
2194421948
"properties": {

descriptions/ghes-2.18/ghes-2.18.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15943,11 +15943,12 @@ paths:
1594315943
content:
1594415944
application/json:
1594515945
schema:
15946-
anyOf:
15946+
oneOf:
1594715947
- type: object
1594815948
properties:
1594915949
labels:
1595015950
type: array
15951+
minItems: 1
1595115952
description: The names of the labels to add to the issue. You
1595215953
can pass an empty array to remove all labels. **Note:** Alternatively,
1595315954
you can pass a single label as a `string` or an `array` of labels
@@ -15956,12 +15957,14 @@ paths:
1595615957
items:
1595715958
type: string
1595815959
- type: array
15960+
minItems: 1
1595915961
items:
1596015962
type: string
1596115963
- type: object
1596215964
properties:
1596315965
labels:
1596415966
type: array
15967+
minItems: 1
1596515968
items:
1596615969
type: object
1596715970
properties:
@@ -15970,6 +15973,7 @@ paths:
1597015973
required:
1597115974
- name
1597215975
- type: array
15976+
minItems: 1
1597315977
items:
1597415978
type: object
1597515979
properties:

descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188258,12 +188258,13 @@
188258188258
"content": {
188259188259
"application/json": {
188260188260
"schema": {
188261-
"anyOf": [
188261+
"oneOf": [
188262188262
{
188263188263
"type": "object",
188264188264
"properties": {
188265188265
"labels": {
188266188266
"type": "array",
188267+
"minItems": 1,
188267188268
"description": "The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key.",
188268188269
"items": {
188269188270
"type": "string"
@@ -188273,6 +188274,7 @@
188273188274
},
188274188275
{
188275188276
"type": "array",
188277+
"minItems": 1,
188276188278
"items": {
188277188279
"type": "string"
188278188280
}
@@ -188282,6 +188284,7 @@
188282188284
"properties": {
188283188285
"labels": {
188284188286
"type": "array",
188287+
"minItems": 1,
188285188288
"items": {
188286188289
"type": "object",
188287188290
"properties": {
@@ -188298,6 +188301,7 @@
188298188301
},
188299188302
{
188300188303
"type": "array",
188304+
"minItems": 1,
188301188305
"items": {
188302188306
"type": "object",
188303188307
"properties": {

descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38186,11 +38186,12 @@ paths:
3818638186
content:
3818738187
application/json:
3818838188
schema:
38189-
anyOf:
38189+
oneOf:
3819038190
- type: object
3819138191
properties:
3819238192
labels:
3819338193
type: array
38194+
minItems: 1
3819438195
description: The names of the labels to add to the issue. You
3819538196
can pass an empty array to remove all labels. **Note:** Alternatively,
3819638197
you can pass a single label as a `string` or an `array` of labels
@@ -38199,12 +38200,14 @@ paths:
3819938200
items:
3820038201
type: string
3820138202
- type: array
38203+
minItems: 1
3820238204
items:
3820338205
type: string
3820438206
- type: object
3820538207
properties:
3820638208
labels:
3820738209
type: array
38210+
minItems: 1
3820838211
items:
3820938212
type: object
3821038213
properties:
@@ -38213,6 +38216,7 @@ paths:
3821338216
required:
3821438217
- name
3821538218
- type: array
38219+
minItems: 1
3821638220
items:
3821738221
type: object
3821838222
properties:

0 commit comments

Comments
 (0)