Skip to content

Commit 87f2ed1

Browse files
committed
Update GitHub ReposGetContent snapshots
1 parent d5e8e83 commit 87f2ed1

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/tests/AutoSDK.SnapshotTests/Snapshots/github/NewtonsoftJson/_#G.IReposClient.ReposGetContent.g.verified.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public partial interface IReposClient
3232
/// <param name="ref"></param>
3333
/// <param name="cancellationToken">The token to cancel the operation with</param>
3434
/// <exception cref="global::G.ApiException"></exception>
35-
global::System.Threading.Tasks.Task<global::G.ContentTree> ReposGetContentAsync(
35+
global::System.Threading.Tasks.Task<global::G.ReposGetContentResponse> ReposGetContentAsync(
3636
string owner,
3737
string repo,
3838
string path,

src/tests/AutoSDK.SnapshotTests/Snapshots/github/NewtonsoftJson/_#G.ReposClient.ReposGetContent.g.verified.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ partial void ProcessReposGetContentResponseContent(
5555
/// <param name="ref"></param>
5656
/// <param name="cancellationToken">The token to cancel the operation with</param>
5757
/// <exception cref="global::G.ApiException"></exception>
58-
public async global::System.Threading.Tasks.Task<global::G.ContentTree> ReposGetContentAsync(
58+
public async global::System.Threading.Tasks.Task<global::G.ReposGetContentResponse> ReposGetContentAsync(
5959
string owner,
6060
string repo,
6161
string path,
@@ -271,7 +271,7 @@ partial void ProcessReposGetContentResponseContent(
271271
__response.EnsureSuccessStatusCode();
272272

273273
return
274-
global::G.ContentTree.FromJson(__content, JsonSerializerOptions) ??
274+
global::G.ReposGetContentResponse.FromJson(__content, JsonSerializerOptions) ??
275275
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
276276
}
277277
catch (global::System.Exception __ex)
@@ -302,7 +302,7 @@ partial void ProcessReposGetContentResponseContent(
302302
).ConfigureAwait(false);
303303

304304
return
305-
await global::G.ContentTree.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
305+
await global::G.ReposGetContentResponse.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
306306
throw new global::System.InvalidOperationException("Response deserialization failed.");
307307
}
308308
catch (global::System.Exception __ex)

src/tests/AutoSDK.SnapshotTests/Snapshots/github/SystemTextJson/_#G.IReposClient.ReposGetContent.g.verified.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public partial interface IReposClient
3232
/// <param name="ref"></param>
3333
/// <param name="cancellationToken">The token to cancel the operation with</param>
3434
/// <exception cref="global::G.ApiException"></exception>
35-
global::System.Threading.Tasks.Task<global::G.ContentTree> ReposGetContentAsync(
35+
global::System.Threading.Tasks.Task<global::G.ReposGetContentResponse> ReposGetContentAsync(
3636
string owner,
3737
string repo,
3838
string path,

src/tests/AutoSDK.SnapshotTests/Snapshots/github/SystemTextJson/_#G.ReposClient.ReposGetContent.g.verified.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ partial void ProcessReposGetContentResponseContent(
5555
/// <param name="ref"></param>
5656
/// <param name="cancellationToken">The token to cancel the operation with</param>
5757
/// <exception cref="global::G.ApiException"></exception>
58-
public async global::System.Threading.Tasks.Task<global::G.ContentTree> ReposGetContentAsync(
58+
public async global::System.Threading.Tasks.Task<global::G.ReposGetContentResponse> ReposGetContentAsync(
5959
string owner,
6060
string repo,
6161
string path,
@@ -271,7 +271,7 @@ partial void ProcessReposGetContentResponseContent(
271271
__response.EnsureSuccessStatusCode();
272272

273273
return
274-
global::G.ContentTree.FromJson(__content, JsonSerializerOptions) ??
274+
global::G.ReposGetContentResponse.FromJson(__content, JsonSerializerOptions) ??
275275
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
276276
}
277277
catch (global::System.Exception __ex)
@@ -302,7 +302,7 @@ partial void ProcessReposGetContentResponseContent(
302302
).ConfigureAwait(false);
303303

304304
return
305-
await global::G.ContentTree.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
305+
await global::G.ReposGetContentResponse.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
306306
throw new global::System.InvalidOperationException("Response deserialization failed.");
307307
}
308308
catch (global::System.Exception __ex)

0 commit comments

Comments
 (0)