Skip to content

Commit 965c07f

Browse files
committed
fix new url pattern
1 parent 005cb11 commit 965c07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LibKubernetesGenerator/templates/Kubernetes.cs.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace k8s
4848
// Construct URL
4949
var url = $"{{ToInterpolationPathString path}}";
5050
{{#IfGroupPathParamContainsGroup path}}
51-
url = url.Replace("/apis//", "/api/");
51+
url = url.Replace("apis//", "api/");
5252
{{/IfGroupPathParamContainsGroup}}
5353
var q = new QueryBuilder();
5454
{{#operation.parameters}}

0 commit comments

Comments
 (0)