/// <summary>
 /// Find purchase order by Id
 /// </summary>
 /// <remarks>
 /// For valid response try integer IDs with value &lt;= 5 or &gt; 10. Other
 /// values will generated exceptions
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='orderId'>
 /// Id of pet that needs to be fetched
 /// </param>
 public static Order GetOrderById(this ISwaggerPetstoreV2 operations, string orderId)
 {
     return(operations.GetOrderByIdAsync(orderId).GetAwaiter().GetResult());
 }