Skip to content

Commit 660fc91

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#256)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent 5f45427 commit 660fc91

3 files changed

Lines changed: 0 additions & 70 deletions

File tree

src/libs/Vercel/Generated/Vercel.ConnectClient.GetConnectorToken.g.cs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -538,38 +538,6 @@ partial void ProcessGetConnectorTokenResponseContent(
538538
h => h.Key,
539539
h => h.Value));
540540
}
541-
//
542-
if ((int)__response.StatusCode == 504)
543-
{
544-
string? __content_504 = null;
545-
global::System.Exception? __exception_504 = null;
546-
try
547-
{
548-
if (__effectiveReadResponseAsString)
549-
{
550-
__content_504 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
551-
}
552-
else
553-
{
554-
__content_504 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
555-
}
556-
}
557-
catch (global::System.Exception __ex)
558-
{
559-
__exception_504 = __ex;
560-
}
561-
562-
563-
throw global::Vercel.ApiException.Create(
564-
statusCode: __response.StatusCode,
565-
message: __content_504 ?? __response.ReasonPhrase ?? string.Empty,
566-
innerException: __exception_504,
567-
responseBody: __content_504,
568-
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
569-
__response.Headers,
570-
h => h.Key,
571-
h => h.Value));
572-
}
573541

574542
if (__effectiveReadResponseAsString)
575543
{

src/libs/Vercel/Generated/Vercel.ConnectClient.ImportConnectorTokens.g.cs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -506,38 +506,6 @@ partial void ProcessImportConnectorTokensResponseContent(
506506
h => h.Key,
507507
h => h.Value));
508508
}
509-
//
510-
if ((int)__response.StatusCode == 504)
511-
{
512-
string? __content_504 = null;
513-
global::System.Exception? __exception_504 = null;
514-
try
515-
{
516-
if (__effectiveReadResponseAsString)
517-
{
518-
__content_504 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
519-
}
520-
else
521-
{
522-
__content_504 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
523-
}
524-
}
525-
catch (global::System.Exception __ex)
526-
{
527-
__exception_504 = __ex;
528-
}
529-
530-
531-
throw global::Vercel.ApiException.Create(
532-
statusCode: __response.StatusCode,
533-
message: __content_504 ?? __response.ReasonPhrase ?? string.Empty,
534-
innerException: __exception_504,
535-
responseBody: __content_504,
536-
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
537-
__response.Headers,
538-
h => h.Key,
539-
h => h.Value));
540-
}
541509

542510
if (__effectiveReadResponseAsString)
543511
{

src/libs/Vercel/openapi.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12767,9 +12767,6 @@
1276712767
},
1276812768
"429": {
1276912769
"description": ""
12770-
},
12771-
"504": {
12772-
"description": ""
1277312770
}
1277412771
},
1277512772
"parameters": [
@@ -13118,9 +13115,6 @@
1311813115
},
1311913116
"422": {
1312013117
"description": ""
13121-
},
13122-
"504": {
13123-
"description": ""
1312413118
}
1312513119
},
1312613120
"parameters": [

0 commit comments

Comments
 (0)