Skip to content

Commit e63e044

Browse files
Update samples
1 parent ec6bec4 commit e63e044

File tree

26 files changed

+65
-65
lines changed

26 files changed

+65
-65
lines changed

samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public async Task RolesReportGetAsyncTest()
9999
{
100100
var response = await _instance.RolesReportGetAsync();
101101
var model = response.Ok();
102-
Assert.IsType<List<List>>(model);
102+
Assert.IsType<List<List<RolesReportsHash>>>(model);
103103
}
104104

105105
/// <summary>

samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public interface IRedirectOrDefaultApiResponse : Org.OpenAPITools.Client.IApiRes
219219
/// <summary>
220220
/// The <see cref="IRolesReportGetApiResponse"/>
221221
/// </summary>
222-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
222+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
223223
{
224224
/// <summary>
225225
/// Returns true if the response is 200 Ok
@@ -1490,11 +1490,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
14901490
/// Deserializes the response if the response is 200 Ok
14911491
/// </summary>
14921492
/// <returns></returns>
1493-
public List<List> Ok()
1493+
public List<List<RolesReportsHash>> Ok()
14941494
{
14951495
// This logic may be modified with the AsModel.mustache template
14961496
return IsOk
1497-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1497+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
14981498
: default;
14991499
}
15001500

@@ -1503,7 +1503,7 @@ public List<List> Ok()
15031503
/// </summary>
15041504
/// <param name="result"></param>
15051505
/// <returns></returns>
1506-
public bool TryOk(out List<List> result)
1506+
public bool TryOk(out List<List<RolesReportsHash>> result)
15071507
{
15081508
result = null;
15091509

samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public async Task RolesReportGetAsyncTest()
9999
{
100100
var response = await _instance.RolesReportGetAsync();
101101
var model = response.Ok();
102-
Assert.IsType<List<List>>(model);
102+
Assert.IsType<List<List<RolesReportsHash>>>(model);
103103
}
104104

105105
/// <summary>

samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public interface IRedirectOrDefaultApiResponse : Org.OpenAPITools.Client.IApiRes
219219
/// <summary>
220220
/// The <see cref="IRolesReportGetApiResponse"/>
221221
/// </summary>
222-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
222+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
223223
{
224224
/// <summary>
225225
/// Returns true if the response is 200 Ok
@@ -1490,11 +1490,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
14901490
/// Deserializes the response if the response is 200 Ok
14911491
/// </summary>
14921492
/// <returns></returns>
1493-
public List<List> Ok()
1493+
public List<List<RolesReportsHash>> Ok()
14941494
{
14951495
// This logic may be modified with the AsModel.mustache template
14961496
return IsOk
1497-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1497+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
14981498
: default;
14991499
}
15001500

@@ -1503,7 +1503,7 @@ public List<List> Ok()
15031503
/// </summary>
15041504
/// <param name="result"></param>
15051505
/// <returns></returns>
1506-
public bool TryOk(out List<List> result)
1506+
public bool TryOk(out List<List<RolesReportsHash>> result)
15071507
{
15081508
result = null;
15091509

samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public async Task RolesReportGetAsyncTest()
9999
{
100100
var response = await _instance.RolesReportGetAsync();
101101
var model = response.Ok();
102-
Assert.IsType<List<List>>(model);
102+
Assert.IsType<List<List<RolesReportsHash>>>(model);
103103
}
104104

105105
/// <summary>

samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public interface IRedirectOrDefaultApiResponse : Org.OpenAPITools.Client.IApiRes
219219
/// <summary>
220220
/// The <see cref="IRolesReportGetApiResponse"/>
221221
/// </summary>
222-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
222+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
223223
{
224224
/// <summary>
225225
/// Returns true if the response is 200 Ok
@@ -1490,11 +1490,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
14901490
/// Deserializes the response if the response is 200 Ok
14911491
/// </summary>
14921492
/// <returns></returns>
1493-
public List<List> Ok()
1493+
public List<List<RolesReportsHash>> Ok()
14941494
{
14951495
// This logic may be modified with the AsModel.mustache template
14961496
return IsOk
1497-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1497+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
14981498
: default;
14991499
}
15001500

@@ -1503,7 +1503,7 @@ public List<List> Ok()
15031503
/// </summary>
15041504
/// <param name="result"></param>
15051505
/// <returns></returns>
1506-
public bool TryOk(out List<List> result)
1506+
public bool TryOk(out List<List<RolesReportsHash>> result)
15071507
{
15081508
result = null;
15091509

samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public async Task RolesReportGetAsyncTest()
9999
{
100100
var response = await _instance.RolesReportGetAsync();
101101
var model = response.Ok();
102-
Assert.IsType<List<List>>(model);
102+
Assert.IsType<List<List<RolesReportsHash>>>(model);
103103
}
104104

105105
/// <summary>

samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public interface IRedirectOrDefaultApiResponse : Org.OpenAPITools.Client.IApiRes
219219
/// <summary>
220220
/// The <see cref="IRolesReportGetApiResponse"/>
221221
/// </summary>
222-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
222+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
223223
{
224224
/// <summary>
225225
/// Returns true if the response is 200 Ok
@@ -1490,11 +1490,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
14901490
/// Deserializes the response if the response is 200 Ok
14911491
/// </summary>
14921492
/// <returns></returns>
1493-
public List<List> Ok()
1493+
public List<List<RolesReportsHash>> Ok()
14941494
{
14951495
// This logic may be modified with the AsModel.mustache template
14961496
return IsOk
1497-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1497+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
14981498
: default;
14991499
}
15001500

@@ -1503,7 +1503,7 @@ public List<List> Ok()
15031503
/// </summary>
15041504
/// <param name="result"></param>
15051505
/// <returns></returns>
1506-
public bool TryOk(out List<List> result)
1506+
public bool TryOk(out List<List<RolesReportsHash>> result)
15071507
{
15081508
result = null;
15091509

samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public async Task RolesReportGetAsyncTest()
9999
{
100100
var response = await _instance.RolesReportGetAsync();
101101
var model = response.Ok();
102-
Assert.IsType<List<List>>(model);
102+
Assert.IsType<List<List<RolesReportsHash>>>(model);
103103
}
104104

105105
/// <summary>

samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public interface IRedirectOrDefaultApiResponse : Org.OpenAPITools.Client.IApiRes
219219
/// <summary>
220220
/// The <see cref="IRolesReportGetApiResponse"/>
221221
/// </summary>
222-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
222+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
223223
{
224224
/// <summary>
225225
/// Returns true if the response is 200 Ok
@@ -1494,11 +1494,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
14941494
/// Deserializes the response if the response is 200 Ok
14951495
/// </summary>
14961496
/// <returns></returns>
1497-
public List<List> Ok()
1497+
public List<List<RolesReportsHash>> Ok()
14981498
{
14991499
// This logic may be modified with the AsModel.mustache template
15001500
return IsOk
1501-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1501+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
15021502
: null;
15031503
}
15041504

@@ -1507,7 +1507,7 @@ public List<List> Ok()
15071507
/// </summary>
15081508
/// <param name="result"></param>
15091509
/// <returns></returns>
1510-
public bool TryOk([NotNullWhen(true)]out List<List> result)
1510+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>> result)
15111511
{
15121512
result = null;
15131513

0 commit comments

Comments
 (0)