/// <summary> /// GET method with api-version modeled in global settings. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static void GetSwaggerGlobalValid(this IApiVersionDefaultOperations operations) { operations.GetSwaggerGlobalValidAsync().GetAwaiter().GetResult(); }