diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index b11a21da8a..1def9a508d 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -130151,7 +130151,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -263060,7 +263060,7 @@ ], "name": "payload", "in": "body", - "type": "object or string or ", + "type": "object or string", "description": "

JSON payload with extra information about the deployment.

", "isRequired": false, "childParamsGroups": [] @@ -275733,7 +275733,7 @@ ], "name": "public", "in": "body", - "type": "boolean or string or ", + "type": "boolean or string", "description": "

Flag indicating whether the gist is public

", "isRequired": false, "childParamsGroups": [] @@ -300670,7 +300670,7 @@ "description": "

The title of the issue.

", "name": "title", "in": "body", - "type": "string or integer or ", + "type": "string or integer", "rawDescription": "The title of the issue.", "isRequired": true, "childParamsGroups": [] @@ -300708,7 +300708,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -307287,7 +307287,7 @@ } ], "description": "

The title of the issue.

", - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "title", "in": "body", "rawType": [ @@ -307349,7 +307349,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -394969,7 +394969,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -395068,7 +395068,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -395590,7 +395590,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -395665,7 +395665,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -396136,7 +396136,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -521940,7 +521940,7 @@ ], "name": "value", "in": "body", - "type": "object or array or string or ", + "type": "object or array or string", "description": "", "isRequired": false, "childParamsGroups": [] @@ -522049,7 +522049,7 @@ ], "name": "value", "in": "body", - "type": "object or array or string or ", + "type": "object or array or string", "description": "", "isRequired": false, "childParamsGroups": [] @@ -574567,7 +574567,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -575669,7 +575669,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -575759,7 +575759,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -576497,7 +576497,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -576596,7 +576596,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] diff --git a/lib/rest/static/decorated/ghes-3.2.json b/lib/rest/static/decorated/ghes-3.2.json index f9dba37a3c..d0b8a29714 100644 --- a/lib/rest/static/decorated/ghes-3.2.json +++ b/lib/rest/static/decorated/ghes-3.2.json @@ -116532,7 +116532,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -188168,7 +188168,7 @@ ], "name": "payload", "in": "body", - "type": "object or string or ", + "type": "object or string", "description": "

JSON payload with extra information about the deployment.

", "isRequired": false, "childParamsGroups": [] @@ -207034,7 +207034,7 @@ ], "name": "public", "in": "body", - "type": "boolean or string or ", + "type": "boolean or string", "description": "

Flag indicating whether the gist is public

", "isRequired": false, "childParamsGroups": [] @@ -231094,7 +231094,7 @@ "description": "

The title of the issue.

", "name": "title", "in": "body", - "type": "string or integer or ", + "type": "string or integer", "rawDescription": "The title of the issue.", "isRequired": true, "childParamsGroups": [] @@ -231132,7 +231132,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -237675,7 +237675,7 @@ } ], "description": "

The title of the issue.

", - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "title", "in": "body", "rawType": [ @@ -237737,7 +237737,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -310616,7 +310616,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -310715,7 +310715,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -311237,7 +311237,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -311312,7 +311312,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -311783,7 +311783,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -466081,7 +466081,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -467183,7 +467183,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -467273,7 +467273,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -468011,7 +468011,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -468110,7 +468110,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] diff --git a/lib/rest/static/decorated/ghes-3.3.json b/lib/rest/static/decorated/ghes-3.3.json index 668632c72b..edf6f128f1 100644 --- a/lib/rest/static/decorated/ghes-3.3.json +++ b/lib/rest/static/decorated/ghes-3.3.json @@ -117063,7 +117063,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -188979,7 +188979,7 @@ ], "name": "payload", "in": "body", - "type": "object or string or ", + "type": "object or string", "description": "

JSON payload with extra information about the deployment.

", "isRequired": false, "childParamsGroups": [] @@ -208146,7 +208146,7 @@ ], "name": "public", "in": "body", - "type": "boolean or string or ", + "type": "boolean or string", "description": "

Flag indicating whether the gist is public

", "isRequired": false, "childParamsGroups": [] @@ -232230,7 +232230,7 @@ "description": "

The title of the issue.

", "name": "title", "in": "body", - "type": "string or integer or ", + "type": "string or integer", "rawDescription": "The title of the issue.", "isRequired": true, "childParamsGroups": [] @@ -232268,7 +232268,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -238831,7 +238831,7 @@ } ], "description": "

The title of the issue.

", - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "title", "in": "body", "rawType": [ @@ -238893,7 +238893,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -312224,7 +312224,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -312323,7 +312323,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -312845,7 +312845,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -312920,7 +312920,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -313391,7 +313391,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -464166,7 +464166,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -465268,7 +465268,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -465358,7 +465358,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -466096,7 +466096,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -466195,7 +466195,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] diff --git a/lib/rest/static/decorated/ghes-3.4.json b/lib/rest/static/decorated/ghes-3.4.json index d36f4546bc..bd749b3459 100644 --- a/lib/rest/static/decorated/ghes-3.4.json +++ b/lib/rest/static/decorated/ghes-3.4.json @@ -117042,7 +117042,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -196778,7 +196778,7 @@ ], "name": "payload", "in": "body", - "type": "object or string or ", + "type": "object or string", "description": "

JSON payload with extra information about the deployment.

", "isRequired": false, "childParamsGroups": [] @@ -216101,7 +216101,7 @@ ], "name": "public", "in": "body", - "type": "boolean or string or ", + "type": "boolean or string", "description": "

Flag indicating whether the gist is public

", "isRequired": false, "childParamsGroups": [] @@ -240185,7 +240185,7 @@ "description": "

The title of the issue.

", "name": "title", "in": "body", - "type": "string or integer or ", + "type": "string or integer", "rawDescription": "The title of the issue.", "isRequired": true, "childParamsGroups": [] @@ -240223,7 +240223,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -246786,7 +246786,7 @@ } ], "description": "

The title of the issue.

", - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "title", "in": "body", "rawType": [ @@ -246848,7 +246848,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -332205,7 +332205,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -332304,7 +332304,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -332826,7 +332826,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -332901,7 +332901,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -333372,7 +333372,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -485453,7 +485453,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -486555,7 +486555,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -486645,7 +486645,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -487383,7 +487383,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -487482,7 +487482,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] diff --git a/lib/rest/static/decorated/ghes-3.5.json b/lib/rest/static/decorated/ghes-3.5.json index ff0b06d8eb..12f09e8284 100644 --- a/lib/rest/static/decorated/ghes-3.5.json +++ b/lib/rest/static/decorated/ghes-3.5.json @@ -125552,7 +125552,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -206769,7 +206769,7 @@ ], "name": "payload", "in": "body", - "type": "object or string or ", + "type": "object or string", "description": "

JSON payload with extra information about the deployment.

", "isRequired": false, "childParamsGroups": [] @@ -226092,7 +226092,7 @@ ], "name": "public", "in": "body", - "type": "boolean or string or ", + "type": "boolean or string", "description": "

Flag indicating whether the gist is public

", "isRequired": false, "childParamsGroups": [] @@ -250176,7 +250176,7 @@ "description": "

The title of the issue.

", "name": "title", "in": "body", - "type": "string or integer or ", + "type": "string or integer", "rawDescription": "The title of the issue.", "isRequired": true, "childParamsGroups": [] @@ -250214,7 +250214,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -256777,7 +256777,7 @@ } ], "description": "

The title of the issue.

", - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "title", "in": "body", "rawType": [ @@ -256839,7 +256839,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -342202,7 +342202,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -342301,7 +342301,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -342823,7 +342823,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -342898,7 +342898,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -343369,7 +343369,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -495959,7 +495959,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -497061,7 +497061,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -497151,7 +497151,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -497889,7 +497889,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -497988,7 +497988,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] diff --git a/lib/rest/static/decorated/ghes-3.6.json b/lib/rest/static/decorated/ghes-3.6.json index a54f1c692b..2a66281da6 100644 --- a/lib/rest/static/decorated/ghes-3.6.json +++ b/lib/rest/static/decorated/ghes-3.6.json @@ -126427,7 +126427,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -208047,7 +208047,7 @@ ], "name": "payload", "in": "body", - "type": "object or string or ", + "type": "object or string", "description": "

JSON payload with extra information about the deployment.

", "isRequired": false, "childParamsGroups": [] @@ -227370,7 +227370,7 @@ ], "name": "public", "in": "body", - "type": "boolean or string or ", + "type": "boolean or string", "description": "

Flag indicating whether the gist is public

", "isRequired": false, "childParamsGroups": [] @@ -251478,7 +251478,7 @@ "description": "

The title of the issue.

", "name": "title", "in": "body", - "type": "string or integer or ", + "type": "string or integer", "rawDescription": "The title of the issue.", "isRequired": true, "childParamsGroups": [] @@ -251516,7 +251516,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -258095,7 +258095,7 @@ } ], "description": "

The title of the issue.

", - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "title", "in": "body", "rawType": [ @@ -258157,7 +258157,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -343624,7 +343624,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -343723,7 +343723,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -344245,7 +344245,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -344320,7 +344320,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -344791,7 +344791,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -498832,7 +498832,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -499934,7 +499934,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -500024,7 +500024,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -500762,7 +500762,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -500861,7 +500861,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] diff --git a/lib/rest/static/decorated/github.ae.json b/lib/rest/static/decorated/github.ae.json index 9ba8866a96..b59b3335fd 100644 --- a/lib/rest/static/decorated/github.ae.json +++ b/lib/rest/static/decorated/github.ae.json @@ -92258,7 +92258,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -165414,7 +165414,7 @@ ], "name": "payload", "in": "body", - "type": "object or string or ", + "type": "object or string", "description": "

JSON payload with extra information about the deployment.

", "isRequired": false, "childParamsGroups": [] @@ -181569,7 +181569,7 @@ ], "name": "public", "in": "body", - "type": "boolean or string or ", + "type": "boolean or string", "description": "

Flag indicating whether the gist is public

", "isRequired": false, "childParamsGroups": [] @@ -205653,7 +205653,7 @@ "description": "

The title of the issue.

", "name": "title", "in": "body", - "type": "string or integer or ", + "type": "string or integer", "rawDescription": "The title of the issue.", "isRequired": true, "childParamsGroups": [] @@ -205691,7 +205691,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -212254,7 +212254,7 @@ } ], "description": "

The title of the issue.

", - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "title", "in": "body", "rawType": [ @@ -212316,7 +212316,7 @@ "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._" } ], - "type": "string or integer or null or string or integer", + "type": "string or integer or null", "name": "milestone", "in": "body", "rawType": [ @@ -289597,7 +289597,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -289696,7 +289696,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -290218,7 +290218,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -290293,7 +290293,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -290764,7 +290764,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -436976,7 +436976,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -438077,7 +438077,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -438167,7 +438167,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "childParamsGroups": [] }, @@ -438905,7 +438905,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] @@ -439004,7 +439004,7 @@ ], "name": "insecure_ssl", "in": "body", - "type": "string or number or ", + "type": "string or number", "description": "

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

", "isRequired": false, "childParamsGroups": [] diff --git a/script/rest/utils/operation.js b/script/rest/utils/operation.js index 3ad716800f..c994c28a56 100644 --- a/script/rest/utils/operation.js +++ b/script/rest/utils/operation.js @@ -258,7 +258,7 @@ async function getBodyParams(paramsObject, requiredParams) { // Stores the types listed under the `Type` column in the `Parameters` // table in the REST API docs. When the parameter contains oneOf // there are multiple acceptable parameters that we should list. - const paramArray = [] + let paramArray = [] const oneOfArray = param.oneOf const isOneOfObjectOrArray = oneOfArray @@ -300,7 +300,12 @@ async function getBodyParams(paramsObject, requiredParams) { remainingItems.splice(indexOfArrayType, 1) paramArray.push(...remainingItems) } else if (param.type) { - paramArray.push(...param.type) + paramArray = paramArray.flat() + for (const type of param.type) { + if (type && paramArray.indexOf(type) === -1) { + paramArray.push(type) + } + } } // Supports backwards compatibility for OpenAPI 3.0 // In 3.1 a nullable type is part of the param.type array and