You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logger.LogError(exception, "An error occurred while sending the request to the server.");
184
197
}
185
198
199
+
/// <summary>
200
+
/// {{summary}} {{notes}}
201
+
/// </summary>
202
+
{{#allParams}}
203
+
/// <paramname="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
204
+
{{/allParams}}
205
+
/// <paramname="cancellationToken">Cancellation Token to cancel the request.</param>
206
+
/// <returns><seecref="Task"/><<seecref="ApiResponse{T}"/>> where T : <seecref="{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}object{{/returnType}}"/></returns>
207
+
public async Task<ApiResponse<{{#returnType}}{{{.}}}{{/returnType}}{{^returnType}}object{{/returnType}}>{{nrt?}}> {{operationId}}OrDefaultAsync({{>OperationSignature}})
Copy file name to clipboardExpand all lines: samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
+30-1Lines changed: 30 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,19 @@ public interface IAnotherFakeApi : IApi
38
38
/// <exception cref="ApiException">Thrown when fails to make API call</exception>
Copy file name to clipboardExpand all lines: samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Api/DefaultApi.cs
+86-3Lines changed: 86 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,19 @@ public interface IDefaultApi : IApi
37
37
/// </remarks>
38
38
/// <exception cref="ApiException">Thrown when fails to make API call</exception>
39
39
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
0 commit comments