/// <summary> /// Test explicitly required array. Please put a header 'headerParameter' => /// null and the client library should throw before the request is sent. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='headerParameter'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Error> PostRequiredArrayHeaderAsync(this IExplicitModel operations, IList <string> headerParameter, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.PostRequiredArrayHeaderWithHttpMessagesAsync(headerParameter, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }