Skip to content

Commit 64e6b31

Browse files
Update samples
1 parent 22ef4b9 commit 64e6b31

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
@@ -180,7 +180,7 @@ public interface IHelloApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<L
180180
/// <summary>
181181
/// The <see cref="IRolesReportGetApiResponse"/>
182182
/// </summary>
183-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
183+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
184184
{
185185
/// <summary>
186186
/// Returns true if the response is 200 Ok
@@ -1125,11 +1125,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11251125
/// Deserializes the response if the response is 200 Ok
11261126
/// </summary>
11271127
/// <returns></returns>
1128-
public List<List> Ok()
1128+
public List<List<RolesReportsHash>> Ok()
11291129
{
11301130
// This logic may be modified with the AsModel.mustache template
11311131
return IsOk
1132-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1132+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
11331133
: default;
11341134
}
11351135

@@ -1138,7 +1138,7 @@ public List<List> Ok()
11381138
/// </summary>
11391139
/// <param name="result"></param>
11401140
/// <returns></returns>
1141-
public bool TryOk(out List<List> result)
1141+
public bool TryOk(out List<List<RolesReportsHash>> result)
11421142
{
11431143
result = null;
11441144

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
@@ -180,7 +180,7 @@ public interface IHelloApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<L
180180
/// <summary>
181181
/// The <see cref="IRolesReportGetApiResponse"/>
182182
/// </summary>
183-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
183+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
184184
{
185185
/// <summary>
186186
/// Returns true if the response is 200 Ok
@@ -1125,11 +1125,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11251125
/// Deserializes the response if the response is 200 Ok
11261126
/// </summary>
11271127
/// <returns></returns>
1128-
public List<List> Ok()
1128+
public List<List<RolesReportsHash>> Ok()
11291129
{
11301130
// This logic may be modified with the AsModel.mustache template
11311131
return IsOk
1132-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1132+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
11331133
: default;
11341134
}
11351135

@@ -1138,7 +1138,7 @@ public List<List> Ok()
11381138
/// </summary>
11391139
/// <param name="result"></param>
11401140
/// <returns></returns>
1141-
public bool TryOk(out List<List> result)
1141+
public bool TryOk(out List<List<RolesReportsHash>> result)
11421142
{
11431143
result = null;
11441144

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
@@ -180,7 +180,7 @@ public interface IHelloApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<L
180180
/// <summary>
181181
/// The <see cref="IRolesReportGetApiResponse"/>
182182
/// </summary>
183-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
183+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
184184
{
185185
/// <summary>
186186
/// Returns true if the response is 200 Ok
@@ -1125,11 +1125,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11251125
/// Deserializes the response if the response is 200 Ok
11261126
/// </summary>
11271127
/// <returns></returns>
1128-
public List<List> Ok()
1128+
public List<List<RolesReportsHash>> Ok()
11291129
{
11301130
// This logic may be modified with the AsModel.mustache template
11311131
return IsOk
1132-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1132+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
11331133
: default;
11341134
}
11351135

@@ -1138,7 +1138,7 @@ public List<List> Ok()
11381138
/// </summary>
11391139
/// <param name="result"></param>
11401140
/// <returns></returns>
1141-
public bool TryOk(out List<List> result)
1141+
public bool TryOk(out List<List<RolesReportsHash>> result)
11421142
{
11431143
result = null;
11441144

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
@@ -180,7 +180,7 @@ public interface IHelloApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<L
180180
/// <summary>
181181
/// The <see cref="IRolesReportGetApiResponse"/>
182182
/// </summary>
183-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
183+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
184184
{
185185
/// <summary>
186186
/// Returns true if the response is 200 Ok
@@ -1125,11 +1125,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11251125
/// Deserializes the response if the response is 200 Ok
11261126
/// </summary>
11271127
/// <returns></returns>
1128-
public List<List> Ok()
1128+
public List<List<RolesReportsHash>> Ok()
11291129
{
11301130
// This logic may be modified with the AsModel.mustache template
11311131
return IsOk
1132-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1132+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
11331133
: default;
11341134
}
11351135

@@ -1138,7 +1138,7 @@ public List<List> Ok()
11381138
/// </summary>
11391139
/// <param name="result"></param>
11401140
/// <returns></returns>
1141-
public bool TryOk(out List<List> result)
1141+
public bool TryOk(out List<List<RolesReportsHash>> result)
11421142
{
11431143
result = null;
11441144

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
@@ -180,7 +180,7 @@ public interface IHelloApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<L
180180
/// <summary>
181181
/// The <see cref="IRolesReportGetApiResponse"/>
182182
/// </summary>
183-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
183+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
184184
{
185185
/// <summary>
186186
/// Returns true if the response is 200 Ok
@@ -1128,11 +1128,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11281128
/// Deserializes the response if the response is 200 Ok
11291129
/// </summary>
11301130
/// <returns></returns>
1131-
public List<List> Ok()
1131+
public List<List<RolesReportsHash>> Ok()
11321132
{
11331133
// This logic may be modified with the AsModel.mustache template
11341134
return IsOk
1135-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1135+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
11361136
: null;
11371137
}
11381138

@@ -1141,7 +1141,7 @@ public List<List> Ok()
11411141
/// </summary>
11421142
/// <param name="result"></param>
11431143
/// <returns></returns>
1144-
public bool TryOk([NotNullWhen(true)]out List<List> result)
1144+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>> result)
11451145
{
11461146
result = null;
11471147

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
@@ -182,7 +182,7 @@ public interface IHelloApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<L
182182
/// <summary>
183183
/// The <see cref="IRolesReportGetApiResponse"/>
184184
/// </summary>
185-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>?>
185+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>?>
186186
{
187187
/// <summary>
188188
/// Returns true if the response is 200 Ok
@@ -1130,11 +1130,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11301130
/// Deserializes the response if the response is 200 Ok
11311131
/// </summary>
11321132
/// <returns></returns>
1133-
public List<List>? Ok()
1133+
public List<List<RolesReportsHash>>? Ok()
11341134
{
11351135
// This logic may be modified with the AsModel.mustache template
11361136
return IsOk
1137-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1137+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
11381138
: null;
11391139
}
11401140

@@ -1143,7 +1143,7 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11431143
/// </summary>
11441144
/// <param name="result"></param>
11451145
/// <returns></returns>
1146-
public bool TryOk([NotNullWhen(true)]out List<List>? result)
1146+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>>? result)
11471147
{
11481148
result = null;
11491149

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
@@ -180,7 +180,7 @@ public interface IHelloApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<L
180180
/// <summary>
181181
/// The <see cref="IRolesReportGetApiResponse"/>
182182
/// </summary>
183-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
183+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
184184
{
185185
/// <summary>
186186
/// Returns true if the response is 200 Ok
@@ -1128,11 +1128,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11281128
/// Deserializes the response if the response is 200 Ok
11291129
/// </summary>
11301130
/// <returns></returns>
1131-
public List<List> Ok()
1131+
public List<List<RolesReportsHash>> Ok()
11321132
{
11331133
// This logic may be modified with the AsModel.mustache template
11341134
return IsOk
1135-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1135+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
11361136
: null;
11371137
}
11381138

@@ -1141,7 +1141,7 @@ public List<List> Ok()
11411141
/// </summary>
11421142
/// <param name="result"></param>
11431143
/// <returns></returns>
1144-
public bool TryOk([NotNullWhen(true)]out List<List> result)
1144+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>> result)
11451145
{
11461146
result = null;
11471147

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
@@ -182,7 +182,7 @@ public interface IHelloApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<L
182182
/// <summary>
183183
/// The <see cref="IRolesReportGetApiResponse"/>
184184
/// </summary>
185-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>?>
185+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>?>
186186
{
187187
/// <summary>
188188
/// Returns true if the response is 200 Ok
@@ -1130,11 +1130,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11301130
/// Deserializes the response if the response is 200 Ok
11311131
/// </summary>
11321132
/// <returns></returns>
1133-
public List<List>? Ok()
1133+
public List<List<RolesReportsHash>>? Ok()
11341134
{
11351135
// This logic may be modified with the AsModel.mustache template
11361136
return IsOk
1137-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1137+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
11381138
: null;
11391139
}
11401140

@@ -1143,7 +1143,7 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11431143
/// </summary>
11441144
/// <param name="result"></param>
11451145
/// <returns></returns>
1146-
public bool TryOk([NotNullWhen(true)]out List<List>? result)
1146+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>>? result)
11471147
{
11481148
result = null;
11491149

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
@@ -180,7 +180,7 @@ public interface IHelloApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<L
180180
/// <summary>
181181
/// The <see cref="IRolesReportGetApiResponse"/>
182182
/// </summary>
183-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>>
183+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>>
184184
{
185185
/// <summary>
186186
/// Returns true if the response is 200 Ok
@@ -1128,11 +1128,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11281128
/// Deserializes the response if the response is 200 Ok
11291129
/// </summary>
11301130
/// <returns></returns>
1131-
public List<List> Ok()
1131+
public List<List<RolesReportsHash>> Ok()
11321132
{
11331133
// This logic may be modified with the AsModel.mustache template
11341134
return IsOk
1135-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1135+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
11361136
: null;
11371137
}
11381138

@@ -1141,7 +1141,7 @@ public List<List> Ok()
11411141
/// </summary>
11421142
/// <param name="result"></param>
11431143
/// <returns></returns>
1144-
public bool TryOk([NotNullWhen(true)]out List<List> result)
1144+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>> result)
11451145
{
11461146
result = null;
11471147

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
@@ -182,7 +182,7 @@ public interface IHelloApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<L
182182
/// <summary>
183183
/// The <see cref="IRolesReportGetApiResponse"/>
184184
/// </summary>
185-
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List>?>
185+
public interface IRolesReportGetApiResponse : Org.OpenAPITools.Client.IApiResponse, IOk<List<List<RolesReportsHash>>?>
186186
{
187187
/// <summary>
188188
/// Returns true if the response is 200 Ok
@@ -1130,11 +1130,11 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11301130
/// Deserializes the response if the response is 200 Ok
11311131
/// </summary>
11321132
/// <returns></returns>
1133-
public List<List>? Ok()
1133+
public List<List<RolesReportsHash>>? Ok()
11341134
{
11351135
// This logic may be modified with the AsModel.mustache template
11361136
return IsOk
1137-
? System.Text.Json.JsonSerializer.Deserialize<List<List>>(RawContent, _jsonSerializerOptions)
1137+
? System.Text.Json.JsonSerializer.Deserialize<List<List<RolesReportsHash>>>(RawContent, _jsonSerializerOptions)
11381138
: null;
11391139
}
11401140

@@ -1143,7 +1143,7 @@ public RolesReportGetApiResponse(ILogger<RolesReportGetApiResponse> logger, Syst
11431143
/// </summary>
11441144
/// <param name="result"></param>
11451145
/// <returns></returns>
1146-
public bool TryOk([NotNullWhen(true)]out List<List>? result)
1146+
public bool TryOk([NotNullWhen(true)]out List<List<RolesReportsHash>>? result)
11471147
{
11481148
result = null;
11491149

0 commit comments

Comments
 (0)