Skip to content

Commit b75bbec

Browse files
committed
fix new url pattern
1 parent a2db0da commit b75bbec

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)