/// <summary> /// Get method with api-version modeled in the method. pass in api-version = /// '2.0' to succeed /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task GetSwaggerLocalValidAsync(this IApiVersionLocalOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.GetSwaggerLocalValidWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Get method with api-version modeled in the method. pass in api-version = /// '2.0' to succeed /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task GetSwaggerLocalValidAsync(this IApiVersionLocalOperations operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { await operations.GetSwaggerLocalValidWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false); }