/// <summary> /// 기본 설정을 사용한 NamingPolicy를 생성한다. /// * postJson = Snake /// * header = HttpHeader /// * requestUri = Snake /// </summary> /// <returns></returns> /// <seealso cref="ConventionType"/> public static NamingPolicy CreateDefault() { NamingPolicy policy = new NamingPolicy(); policy.postJson = ConventionType.Snake; policy.header = ConventionType.HttpHeader; policy.requestUri = ConventionType.Snake; return policy; }
/// <summary> /// 기본 설정을 사용한 NamingPolicy를 생성한다. /// * postJson = Snake /// * header = HttpHeader /// * requestUri = Snake /// </summary> /// <returns></returns> /// <seealso cref="ConventionType"/> public static NamingPolicy CreateDefault() { NamingPolicy policy = new NamingPolicy(); policy.postJson = ConventionType.Snake; policy.header = ConventionType.HttpHeader; policy.requestUri = ConventionType.Snake; return(policy); }