Skip to content

Commit b5f8a60

Browse files
graceparkparkgrace
andauthored
Fix REST decorator script (github#29542)
* fix decorator script * run on node 16 Co-authored-by: Grace Park <[email protected]>
1 parent a3f5414 commit b5f8a60

File tree

8 files changed

+128
-123
lines changed

8 files changed

+128
-123
lines changed

lib/rest/static/decorated/api.github.com.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -130151,7 +130151,7 @@
130151130151
],
130152130152
"name": "insecure_ssl",
130153130153
"in": "body",
130154-
"type": "string or number or ",
130154+
"type": "string or number",
130155130155
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
130156130156
"isRequired": false,
130157130157
"childParamsGroups": []
@@ -263060,7 +263060,7 @@
263060263060
],
263061263061
"name": "payload",
263062263062
"in": "body",
263063-
"type": "object or string or ",
263063+
"type": "object or string",
263064263064
"description": "<p>JSON payload with extra information about the deployment.</p>",
263065263065
"isRequired": false,
263066263066
"childParamsGroups": []
@@ -275733,7 +275733,7 @@
275733275733
],
275734275734
"name": "public",
275735275735
"in": "body",
275736-
"type": "boolean or string or ",
275736+
"type": "boolean or string",
275737275737
"description": "<p>Flag indicating whether the gist is public</p>",
275738275738
"isRequired": false,
275739275739
"childParamsGroups": []
@@ -300670,7 +300670,7 @@
300670300670
"description": "<p>The title of the issue.</p>",
300671300671
"name": "title",
300672300672
"in": "body",
300673-
"type": "string or integer or ",
300673+
"type": "string or integer",
300674300674
"rawDescription": "The title of the issue.",
300675300675
"isRequired": true,
300676300676
"childParamsGroups": []
@@ -300708,7 +300708,7 @@
300708300708
"description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._"
300709300709
}
300710300710
],
300711-
"type": "string or integer or null or string or integer",
300711+
"type": "string or integer or null",
300712300712
"name": "milestone",
300713300713
"in": "body",
300714300714
"rawType": [
@@ -307287,7 +307287,7 @@
307287307287
}
307288307288
],
307289307289
"description": "<p>The title of the issue.</p>",
307290-
"type": "string or integer or null or string or integer",
307290+
"type": "string or integer or null",
307291307291
"name": "title",
307292307292
"in": "body",
307293307293
"rawType": [
@@ -307349,7 +307349,7 @@
307349307349
"description": "The `number` of the milestone to associate this issue with or `null` to remove current. _NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._"
307350307350
}
307351307351
],
307352-
"type": "string or integer or null or string or integer",
307352+
"type": "string or integer or null",
307353307353
"name": "milestone",
307354307354
"in": "body",
307355307355
"rawType": [
@@ -394969,7 +394969,7 @@
394969394969
],
394970394970
"name": "insecure_ssl",
394971394971
"in": "body",
394972-
"type": "string or number or ",
394972+
"type": "string or number",
394973394973
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
394974394974
"isRequired": false,
394975394975
"childParamsGroups": []
@@ -395068,7 +395068,7 @@
395068395068
],
395069395069
"name": "insecure_ssl",
395070395070
"in": "body",
395071-
"type": "string or number or ",
395071+
"type": "string or number",
395072395072
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
395073395073
"isRequired": false,
395074395074
"childParamsGroups": []
@@ -395590,7 +395590,7 @@
395590395590
],
395591395591
"name": "insecure_ssl",
395592395592
"in": "body",
395593-
"type": "string or number or ",
395593+
"type": "string or number",
395594395594
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
395595395595
"isRequired": false,
395596395596
"childParamsGroups": []
@@ -395665,7 +395665,7 @@
395665395665
],
395666395666
"name": "insecure_ssl",
395667395667
"in": "body",
395668-
"type": "string or number or ",
395668+
"type": "string or number",
395669395669
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
395670395670
"isRequired": false,
395671395671
"childParamsGroups": []
@@ -396136,7 +396136,7 @@
396136396136
],
396137396137
"name": "insecure_ssl",
396138396138
"in": "body",
396139-
"type": "string or number or ",
396139+
"type": "string or number",
396140396140
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
396141396141
"isRequired": false,
396142396142
"childParamsGroups": []
@@ -521940,7 +521940,7 @@
521940521940
],
521941521941
"name": "value",
521942521942
"in": "body",
521943-
"type": "object or array or string or ",
521943+
"type": "object or array or string",
521944521944
"description": "",
521945521945
"isRequired": false,
521946521946
"childParamsGroups": []
@@ -522049,7 +522049,7 @@
522049522049
],
522050522050
"name": "value",
522051522051
"in": "body",
522052-
"type": "object or array or string or ",
522052+
"type": "object or array or string",
522053522053
"description": "",
522054522054
"isRequired": false,
522055522055
"childParamsGroups": []
@@ -574567,7 +574567,7 @@
574567574567
],
574568574568
"name": "insecure_ssl",
574569574569
"in": "body",
574570-
"type": "string or number or ",
574570+
"type": "string or number",
574571574571
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
574572574572
"isRequired": false,
574573574573
"childParamsGroups": []
@@ -575669,7 +575669,7 @@
575669575669
],
575670575670
"name": "insecure_ssl",
575671575671
"in": "body",
575672-
"type": "string or number or ",
575672+
"type": "string or number",
575673575673
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
575674575674
"childParamsGroups": []
575675575675
},
@@ -575759,7 +575759,7 @@
575759575759
],
575760575760
"name": "insecure_ssl",
575761575761
"in": "body",
575762-
"type": "string or number or ",
575762+
"type": "string or number",
575763575763
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
575764575764
"childParamsGroups": []
575765575765
},
@@ -576497,7 +576497,7 @@
576497576497
],
576498576498
"name": "insecure_ssl",
576499576499
"in": "body",
576500-
"type": "string or number or ",
576500+
"type": "string or number",
576501576501
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
576502576502
"isRequired": false,
576503576503
"childParamsGroups": []
@@ -576596,7 +576596,7 @@
576596576596
],
576597576597
"name": "insecure_ssl",
576598576598
"in": "body",
576599-
"type": "string or number or ",
576599+
"type": "string or number",
576600576600
"description": "<p>Determines whether the SSL certificate of the host for <code>url</code> will be verified when delivering payloads. Supported values include <code>0</code> (verification is performed) and <code>1</code> (verification is not performed). The default is <code>0</code>. <strong>We strongly recommend not setting this to <code>1</code> as you are subject to man-in-the-middle and other attacks.</strong></p>",
576601576601
"isRequired": false,
576602576602
"childParamsGroups": []

0 commit comments

Comments
 (0)