/// <summary> /// Test explicitly optional string. Please put a header 'headerParameter' /// => null. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='bodyParameter'> /// </param> public static void PostOptionalStringHeader(this IExplicitModel operations, string bodyParameter = default(string)) { operations.PostOptionalStringHeaderAsync(bodyParameter).GetAwaiter().GetResult(); }