Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/libs/Anam/Generated/Anam.AuthClient.CreateSessionToken.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ partial void ProcessCreateSessionTokenResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_400,
responseBody: __content_400,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -393,7 +393,7 @@ partial void ProcessCreateSessionTokenResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_401,
responseBody: __content_401,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -425,7 +425,7 @@ partial void ProcessCreateSessionTokenResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_500,
responseBody: __content_500,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -467,7 +467,7 @@ partial void ProcessCreateSessionTokenResponseContent(
{
throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content ?? __response.ReasonPhrase ?? string.Empty,
message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty,
innerException: __ex,
responseBody: __content,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -512,7 +512,7 @@ partial void ProcessCreateSessionTokenResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content ?? __response.ReasonPhrase ?? string.Empty,
message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty,
innerException: __ex,
responseBody: __content,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down
14 changes: 7 additions & 7 deletions src/libs/Anam/Generated/Anam.AvatarsClient.CreateAvatar.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ request.ImageFilename is null

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_400,
responseBody: __content_400,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -446,7 +446,7 @@ request.ImageFilename is null

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_401,
responseBody: __content_401,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -478,7 +478,7 @@ request.ImageFilename is null

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_403 is { Length: > 0 } ? __content_403 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_403,
responseBody: __content_403,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -510,7 +510,7 @@ request.ImageFilename is null

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_422 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_422 is { Length: > 0 } ? __content_422 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_422,
responseBody: __content_422,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -542,7 +542,7 @@ request.ImageFilename is null

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_500,
responseBody: __content_500,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -584,7 +584,7 @@ request.ImageFilename is null
{
throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content ?? __response.ReasonPhrase ?? string.Empty,
message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty,
innerException: __ex,
responseBody: __content,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -629,7 +629,7 @@ request.ImageFilename is null

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content ?? __response.ReasonPhrase ?? string.Empty,
message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty,
innerException: __ex,
responseBody: __content,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down
12 changes: 6 additions & 6 deletions src/libs/Anam/Generated/Anam.AvatarsClient.DeleteAvatar.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ await DeleteAvatarAsResponseAsync(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_400,
responseBody: __content_400,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -375,7 +375,7 @@ await DeleteAvatarAsResponseAsync(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_401,
responseBody: __content_401,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -407,7 +407,7 @@ await DeleteAvatarAsResponseAsync(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_404,
responseBody: __content_404,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -439,7 +439,7 @@ await DeleteAvatarAsResponseAsync(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_500,
responseBody: __content_500,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -474,7 +474,7 @@ await DeleteAvatarAsResponseAsync(
{
throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content ?? __response.ReasonPhrase ?? string.Empty,
message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty,
innerException: __ex,
responseBody: __content,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -510,7 +510,7 @@ await DeleteAvatarAsResponseAsync(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content ?? __response.ReasonPhrase ?? string.Empty,
message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty,
innerException: __ex,
responseBody: __content,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down
12 changes: 6 additions & 6 deletions src/libs/Anam/Generated/Anam.AvatarsClient.GetAvatar.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ partial void ProcessGetAvatarResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_400,
responseBody: __content_400,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -382,7 +382,7 @@ partial void ProcessGetAvatarResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_401,
responseBody: __content_401,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -414,7 +414,7 @@ partial void ProcessGetAvatarResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_404,
responseBody: __content_404,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -446,7 +446,7 @@ partial void ProcessGetAvatarResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_500,
responseBody: __content_500,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -488,7 +488,7 @@ partial void ProcessGetAvatarResponseContent(
{
throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content ?? __response.ReasonPhrase ?? string.Empty,
message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty,
innerException: __ex,
responseBody: __content,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -533,7 +533,7 @@ partial void ProcessGetAvatarResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content ?? __response.ReasonPhrase ?? string.Empty,
message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty,
innerException: __ex,
responseBody: __content,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down
8 changes: 4 additions & 4 deletions src/libs/Anam/Generated/Anam.AvatarsClient.ListAvatars.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ partial void ProcessListAvatarsResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_401,
responseBody: __content_401,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -427,7 +427,7 @@ partial void ProcessListAvatarsResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty,
innerException: __exception_500,
responseBody: __content_500,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -469,7 +469,7 @@ partial void ProcessListAvatarsResponseContent(
{
throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content ?? __response.ReasonPhrase ?? string.Empty,
message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty,
innerException: __ex,
responseBody: __content,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down Expand Up @@ -514,7 +514,7 @@ partial void ProcessListAvatarsResponseContent(

throw global::Anam.ApiException.Create(
statusCode: __response.StatusCode,
message: __content ?? __response.ReasonPhrase ?? string.Empty,
message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty,
innerException: __ex,
responseBody: __content,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
Expand Down
Loading
Loading