/// <summary> /// Finds Pets by status /// </summary> /// <remarks> /// Multiple status values can be provided with comma seperated strings /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='status'> /// Status values that need to be considered for filter /// </param> public static IList <Pet> FindPetsByStatus(this ISwaggerPetstoreV2 operations, IList <string> status) { return(operations.FindPetsByStatusAsync(status).GetAwaiter().GetResult()); }