File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Templates/CSharp/Requests Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -9,22 +9,6 @@ var entityName = method.Class.Name.ToCheckedCase();
99var isFunction = method.IsFunction;
1010var isAction = !isFunction;
1111var isComposable = method.IsComposable;
12- var httpMethods = new System.Collections.Generic.List<string>();
13-
14- // Set the supported verbs based on whether this is function, composable function, or an action.
15- if (isFunction)
16- {
17- httpMethods.Add("GET");
18- if (isComposable)
19- {
20- httpMethods.Add("PATCH");
21- httpMethods.Add("PUT");
22- }
23- }
24- else
25- {
26- httpMethods.Add("POST");
27- }
2812
2913var methodName = method.Name.Substring(method.Name.IndexOf('.') + 1).ToCheckedCase();
3014var requestType = entityName + methodName + "Request";
You can’t perform that action at this time.
0 commit comments