Skip to content

Commit 8a99cea

Browse files
Update samples
1 parent 97e5436 commit 8a99cea

File tree

13 files changed

+52
-52
lines changed

13 files changed

+52
-52
lines changed

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/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/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/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/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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public interface IRedirectOrDefaultApiResponse : Org.OpenAPITools.Client.IApiRes
221221
/// <summary>
222222
/// The <see cref="IRolesReportGetApiResponse"/>
223223
/// </summary>
224-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>?>
224+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>?>
225225
{
226226
/// <summary>
227227
/// Returns true if the response is 200 Ok
@@ -1391,11 +1391,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
13911391
/// Deserializes the response if the response is 200 Ok
13921392
/// </summary>
13931393
/// <returns></returns>
1394-
public List<List>? Ok()
1394+
public List<List<RolesReportsHash>>? Ok()
13951395
{
13961396
// This logic may be modified with the AsModel.mustache template
13971397
return IsOk
1398-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1398+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
13991399
: null;
14001400
}
14011401

@@ -1404,7 +1404,7 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
14041404
/// </summary>
14051405
/// <param name="result"></param>
14061406
/// <returns></returns>
1407-
public bool TryOk([NotNullWhen(true)]out List<List>? result)
1407+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>>? result)
14081408
{
14091409
result = null;
14101410

samples/client/petstore/csharp/generichost/net8/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
@@ -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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public interface IRedirectOrDefaultApiResponse : Org.OpenAPITools.Client.IApiRes
221221
/// <summary>
222222
/// The <see cref="IRolesReportGetApiResponse"/>
223223
/// </summary>
224-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>?>
224+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>?>
225225
{
226226
/// <summary>
227227
/// Returns true if the response is 200 Ok
@@ -1391,11 +1391,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
13911391
/// Deserializes the response if the response is 200 Ok
13921392
/// </summary>
13931393
/// <returns></returns>
1394-
public List<List>? Ok()
1394+
public List<List<RolesReportsHash>>? Ok()
13951395
{
13961396
// This logic may be modified with the AsModel.mustache template
13971397
return IsOk
1398-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1398+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
13991399
: null;
14001400
}
14011401

@@ -1404,7 +1404,7 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
14041404
/// </summary>
14051405
/// <param name="result"></param>
14061406
/// <returns></returns>
1407-
public bool TryOk([NotNullWhen(true)]out List<List>? result)
1407+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>>? result)
14081408
{
14091409
result = null;
14101410

samples/client/petstore/csharp/generichost/net9/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

samples/client/petstore/csharp/generichost/net9/NullReferenceTypes/src/Org.OpenAPITools/Api/DefaultApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public interface IRedirectOrDefaultApiResponse : Org.OpenAPITools.Client.IApiRes
221221
/// <summary>
222222
/// The <see cref="IRolesReportGetApiResponse"/>
223223
/// </summary>
224-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>?>
224+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>?>
225225
{
226226
/// <summary>
227227
/// Returns true if the response is 200 Ok
@@ -1391,11 +1391,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
13911391
/// Deserializes the response if the response is 200 Ok
13921392
/// </summary>
13931393
/// <returns></returns>
1394-
public List<List>? Ok()
1394+
public List<List<RolesReportsHash>>? Ok()
13951395
{
13961396
// This logic may be modified with the AsModel.mustache template
13971397
return IsOk
1398-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1398+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
13991399
: null;
14001400
}
14011401

@@ -1404,7 +1404,7 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
14041404
/// </summary>
14051405
/// <param name="result"></param>
14061406
/// <returns></returns>
1407-
public bool TryOk([NotNullWhen(true)]out List<List>? result)
1407+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>>? result)
14081408
{
14091409
result = null;
14101410

0 commit comments

Comments
 (0)