Skip to content

Commit 5638058

Browse files
Update samples
1 parent 97e5436 commit 5638058

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
@@ -1385,11 +1385,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
13851385
/// Deserializes the response if the response is 200 Ok
13861386
/// </summary>
13871387
/// <returns></returns>
1388-
public List<List> Ok()
1388+
public List<List<RolesReportsHash>> Ok()
13891389
{
13901390
// This logic may be modified with the AsModel.mustache template
13911391
return IsOk
1392-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1392+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
13931393
: default;
13941394
}
13951395

@@ -1398,7 +1398,7 @@ public List<List> Ok()
13981398
/// </summary>
13991399
/// <param name="result"></param>
14001400
/// <returns></returns>
1401-
public bool TryOk(out List<List> result)
1401+
public bool TryOk(out List<List<RolesReportsHash>> result)
14021402
{
14031403
result = null;
14041404

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
@@ -1385,11 +1385,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
13851385
/// Deserializes the response if the response is 200 Ok
13861386
/// </summary>
13871387
/// <returns></returns>
1388-
public List<List> Ok()
1388+
public List<List<RolesReportsHash>> Ok()
13891389
{
13901390
// This logic may be modified with the AsModel.mustache template
13911391
return IsOk
1392-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1392+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
13931393
: default;
13941394
}
13951395

@@ -1398,7 +1398,7 @@ public List<List> Ok()
13981398
/// </summary>
13991399
/// <param name="result"></param>
14001400
/// <returns></returns>
1401-
public bool TryOk(out List<List> result)
1401+
public bool TryOk(out List<List<RolesReportsHash>> result)
14021402
{
14031403
result = null;
14041404

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
@@ -1385,11 +1385,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
13851385
/// Deserializes the response if the response is 200 Ok
13861386
/// </summary>
13871387
/// <returns></returns>
1388-
public List<List> Ok()
1388+
public List<List<RolesReportsHash>> Ok()
13891389
{
13901390
// This logic may be modified with the AsModel.mustache template
13911391
return IsOk
1392-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1392+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
13931393
: default;
13941394
}
13951395

@@ -1398,7 +1398,7 @@ public List<List> Ok()
13981398
/// </summary>
13991399
/// <param name="result"></param>
14001400
/// <returns></returns>
1401-
public bool TryOk(out List<List> result)
1401+
public bool TryOk(out List<List<RolesReportsHash>> result)
14021402
{
14031403
result = null;
14041404

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
@@ -1385,11 +1385,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
13851385
/// Deserializes the response if the response is 200 Ok
13861386
/// </summary>
13871387
/// <returns></returns>
1388-
public List<List> Ok()
1388+
public List<List<RolesReportsHash>> Ok()
13891389
{
13901390
// This logic may be modified with the AsModel.mustache template
13911391
return IsOk
1392-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1392+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
13931393
: default;
13941394
}
13951395

@@ -1398,7 +1398,7 @@ public List<List> Ok()
13981398
/// </summary>
13991399
/// <param name="result"></param>
14001400
/// <returns></returns>
1401-
public bool TryOk(out List<List> result)
1401+
public bool TryOk(out List<List<RolesReportsHash>> result)
14021402
{
14031403
result = null;
14041404

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
@@ -1389,11 +1389,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
13891389
/// Deserializes the response if the response is 200 Ok
13901390
/// </summary>
13911391
/// <returns></returns>
1392-
public List<List> Ok()
1392+
public List<List<RolesReportsHash>> Ok()
13931393
{
13941394
// This logic may be modified with the AsModel.mustache template
13951395
return IsOk
1396-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1396+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
13971397
: null;
13981398
}
13991399

@@ -1402,7 +1402,7 @@ public List<List> Ok()
14021402
/// </summary>
14031403
/// <param name="result"></param>
14041404
/// <returns></returns>
1405-
public bool TryOk([NotNullWhen(true)]out List<List> result)
1405+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>> result)
14061406
{
14071407
result = null;
14081408

0 commit comments

Comments
 (0)