/// <summary>
 /// Test explicitly required array. Please put 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='bodyParameter'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <Error> PostRequiredArrayParameterAsync(this IExplicitModel operations, IList <string> bodyParameter, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PostRequiredArrayParameterWithHttpMessagesAsync(bodyParameter, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }