Fix 718 url not relative to baseuri (#724)
* trim starting / for api path * regenerate with api path
This commit is contained in:
@@ -170,6 +170,11 @@ namespace KubernetesWatchGenerator
|
||||
|
||||
return o;
|
||||
})
|
||||
.Select(o =>
|
||||
{
|
||||
o.Path = o.Path.TrimStart('/');
|
||||
return o;
|
||||
})
|
||||
.ToArray();
|
||||
|
||||
Render.FileToFile("IKubernetes.cs.template", data, Path.Combine(outputDirectory, "IKubernetes.cs"));
|
||||
|
||||
Reference in New Issue
Block a user