From cc2adab5e5efb891fe428c37a00c79811e670b8c Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 15 Dec 2025 12:47:59 +0100 Subject: [PATCH] Rename ToHttpMethod to ToHttpMethodName in RestTypeExtensions Renamed the extension method ToHttpMethod to ToHttpMethodName in the RestTypeExtensions class for improved clarity. The method's functionality remains unchanged; it still returns the uppercase string representation of the RestType enum value. --- src/ReC.Domain/Constants/RestType.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReC.Domain/Constants/RestType.cs b/src/ReC.Domain/Constants/RestType.cs index 66ee1db..0cea436 100644 --- a/src/ReC.Domain/Constants/RestType.cs +++ b/src/ReC.Domain/Constants/RestType.cs @@ -17,7 +17,7 @@ public enum RestType public static class RestTypeExtensions { - public static string ToHttpMethod(this RestType restType) + public static string ToHttpMethodName(this RestType restType) { return restType.ToString().ToUpper(); }