/// <summary> /// Find purchase order by Id /// </summary> /// <remarks> /// For valid response try integer IDs with value <= 5 or > 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()); }