From e108b465cd5dcda1016c67d73b844deb32012e12 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:22:00 -0700 Subject: [PATCH] Update OpenAPI Description (#51611) --- src/github-apps/lib/config.json | 2 +- src/rest/data/fpt-2022-11-28/schema.json | 288 +++++++++++++----- src/rest/data/ghec-2022-11-28/schema.json | 288 +++++++++++++----- .../data/ghes-3.10-2022-11-28/schema.json | 288 +++++++++++++----- .../data/ghes-3.11-2022-11-28/schema.json | 288 +++++++++++++----- .../data/ghes-3.12-2022-11-28/schema.json | 288 +++++++++++++----- .../data/ghes-3.13-2022-11-28/schema.json | 288 +++++++++++++----- src/rest/data/ghes-3.9-2022-11-28/schema.json | 288 +++++++++++++----- src/rest/lib/config.json | 2 +- src/webhooks/lib/config.json | 2 +- 10 files changed, 1515 insertions(+), 507 deletions(-) diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 44c24bde04..d3c43b2f2c 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "fd544c2b878458798c8af979affb0407da2ef34e" + "sha": "bd6097760dede8c78b9e98d7ecc48df3629fda5b" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 8efb0b4d5d..954ed17400 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -102406,10 +102406,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -102571,14 +102568,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -102740,7 +102745,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -105332,10 +105348,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -105497,14 +105510,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -105666,7 +105687,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -108364,10 +108396,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -108529,14 +108558,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -108698,7 +108735,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -202559,10 +202607,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -202724,14 +202769,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -202893,7 +202946,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -208234,10 +208298,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -208399,14 +208460,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -208568,7 +208637,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -209332,10 +209412,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -209497,14 +209574,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -209666,7 +209751,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -210014,10 +210110,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -210179,14 +210272,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -210348,7 +210449,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -210728,10 +210840,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -210893,14 +211002,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -211062,7 +211179,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -411062,10 +411190,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -411227,14 +411352,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -411396,7 +411529,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 6dc3a6a5d1..50a6823077 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -112247,10 +112247,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -112412,14 +112409,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -112581,7 +112586,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -115173,10 +115189,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -115338,14 +115351,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -115507,7 +115528,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -118205,10 +118237,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -118370,14 +118399,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -118539,7 +118576,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -214119,10 +214167,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -214284,14 +214329,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -214453,7 +214506,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -219794,10 +219858,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -219959,14 +220020,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -220128,7 +220197,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -220892,10 +220972,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -221057,14 +221134,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -221226,7 +221311,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -221574,10 +221670,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -221739,14 +221832,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -221908,7 +222009,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -222288,10 +222400,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -222453,14 +222562,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -222622,7 +222739,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -434512,10 +434640,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -434677,14 +434802,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -434846,7 +434979,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index 944bd41b10..364044525e 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -107547,10 +107547,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -107712,14 +107709,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -107881,7 +107886,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -110473,10 +110489,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -110638,14 +110651,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -110807,7 +110828,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -113505,10 +113537,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -113670,14 +113699,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -113839,7 +113876,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -157833,10 +157881,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -157998,14 +158043,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -158167,7 +158220,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -163508,10 +163572,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -163673,14 +163734,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -163842,7 +163911,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -164606,10 +164686,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164771,14 +164848,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164940,7 +165025,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -165288,10 +165384,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165453,14 +165546,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165622,7 +165723,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -166002,10 +166114,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -166167,14 +166276,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -166336,7 +166453,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -369956,10 +370084,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -370121,14 +370246,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -370290,7 +370423,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json index 1c1d493e60..9ff503e26e 100644 --- a/src/rest/data/ghes-3.11-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json @@ -107571,10 +107571,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -107736,14 +107733,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -107905,7 +107910,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -110497,10 +110513,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -110662,14 +110675,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -110831,7 +110852,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -113529,10 +113561,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -113694,14 +113723,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -113863,7 +113900,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -157869,10 +157917,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -158034,14 +158079,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -158203,7 +158256,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -163544,10 +163608,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -163709,14 +163770,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -163878,7 +163947,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -164642,10 +164722,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164807,14 +164884,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164976,7 +165061,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -165324,10 +165420,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165489,14 +165582,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165658,7 +165759,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -166038,10 +166150,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -166203,14 +166312,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -166372,7 +166489,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -375569,10 +375697,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -375734,14 +375859,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -375903,7 +376036,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { diff --git a/src/rest/data/ghes-3.12-2022-11-28/schema.json b/src/rest/data/ghes-3.12-2022-11-28/schema.json index c87655afa0..c12c582dae 100644 --- a/src/rest/data/ghes-3.12-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.12-2022-11-28/schema.json @@ -107892,10 +107892,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -108057,14 +108054,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -108226,7 +108231,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -110818,10 +110834,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -110983,14 +110996,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -111152,7 +111173,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -113850,10 +113882,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -114015,14 +114044,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -114184,7 +114221,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -158189,10 +158237,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -158354,14 +158399,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -158523,7 +158576,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -163864,10 +163928,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164029,14 +164090,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164198,7 +164267,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -164962,10 +165042,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165127,14 +165204,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165296,7 +165381,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -165644,10 +165740,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165809,14 +165902,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165978,7 +166079,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -166358,10 +166470,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -166523,14 +166632,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -166692,7 +166809,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -378421,10 +378549,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -378586,14 +378711,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -378755,7 +378888,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { diff --git a/src/rest/data/ghes-3.13-2022-11-28/schema.json b/src/rest/data/ghes-3.13-2022-11-28/schema.json index 98118bc03f..dca32ab3ff 100644 --- a/src/rest/data/ghes-3.13-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.13-2022-11-28/schema.json @@ -108036,10 +108036,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -108201,14 +108198,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -108370,7 +108375,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -110962,10 +110978,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -111127,14 +111140,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -111296,7 +111317,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -113994,10 +114026,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -114159,14 +114188,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -114328,7 +114365,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -158333,10 +158381,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -158498,14 +158543,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -158667,7 +158720,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -164008,10 +164072,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164173,14 +164234,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164342,7 +164411,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -165106,10 +165186,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165271,14 +165348,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165440,7 +165525,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -165788,10 +165884,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -165953,14 +166046,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -166122,7 +166223,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -166502,10 +166614,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -166667,14 +166776,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -166836,7 +166953,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -383322,10 +383450,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -383487,14 +383612,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -383656,7 +383789,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { diff --git a/src/rest/data/ghes-3.9-2022-11-28/schema.json b/src/rest/data/ghes-3.9-2022-11-28/schema.json index 2dac45d3f9..25c264b650 100644 --- a/src/rest/data/ghes-3.9-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.9-2022-11-28/schema.json @@ -106506,10 +106506,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -106671,14 +106668,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -106840,7 +106845,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -109409,10 +109425,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -109574,14 +109587,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -109743,7 +109764,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -112418,10 +112450,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -112583,14 +112612,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -112752,7 +112789,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -156490,10 +156538,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -156655,14 +156700,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -156824,7 +156877,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -162154,10 +162218,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -162319,14 +162380,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -162488,7 +162557,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -163252,10 +163332,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -163417,14 +163494,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -163586,7 +163671,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -163934,10 +164030,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164099,14 +164192,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164268,7 +164369,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -164648,10 +164760,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164813,14 +164922,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -164982,7 +165099,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { @@ -363703,10 +363831,7 @@ ] }, "author": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -363868,14 +363993,22 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "committer": { - "anyOf": [ - { - "type": "null" - }, + "oneOf": [ { "title": "Simple User", "description": "A GitHub user.", @@ -364037,7 +364170,18 @@ "type", "url" ] + }, + { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false } + ], + "type": [ + "null", + "object" ] }, "parents": { diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 93cb037d1c..37512d14db 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -47,5 +47,5 @@ ] } }, - "sha": "fd544c2b878458798c8af979affb0407da2ef34e" + "sha": "bd6097760dede8c78b9e98d7ecc48df3629fda5b" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 05d41b2143..37d3de0a76 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "fd544c2b878458798c8af979affb0407da2ef34e" + "sha": "bd6097760dede8c78b9e98d7ecc48df3629fda5b" } \ No newline at end of file