Skip to content

Commit a8f17b6

Browse files
committed
1507 followup
1 parent a143184 commit a8f17b6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

gen/KubernetesWatchGenerator/Program.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ static async Task Main(string[] args)
4646
}
4747
}
4848

49-
5049
// gen project removed all watch operations, so here we switch back to unprocessed version
5150
swagger = await SwaggerDocument.FromFileAsync(Path.Combine(args[1], "swagger.json.unprocessed"));
5251
_schemaToNameMap = swagger.Definitions.ToDictionary(x => x.Value, x => x.Key);
@@ -90,7 +89,6 @@ static async Task Main(string[] args)
9089
.Union(_classNameToPluralMap)
9190
.ToDictionary(x => x.Key, x => x.Value);
9291

93-
9492
// Register helpers used in the templating.
9593
Helpers.Register(nameof(ToXmlDoc), ToXmlDoc);
9694
Helpers.Register(nameof(GetClassName), GetClassName);
@@ -169,8 +167,6 @@ static async Task Main(string[] args)
169167

170168
}
171169

172-
173-
174170
static void ToXmlDoc(RenderContext context, IList<object> arguments, IDictionary<string, object> options,
175171
RenderBlock fn, RenderBlock inverse)
176172
{
@@ -209,8 +205,6 @@ static void GetTuple(RenderContext context, IList<object> arguments, IDictionary
209205
}
210206
}
211207

212-
213-
214208
static void GetClassName(RenderContext context, IList<object> arguments, IDictionary<string, object> options,
215209
RenderBlock fn, RenderBlock inverse)
216210
{
@@ -321,7 +315,6 @@ static string GetInterfaceName(JsonSchema4 definition)
321315
return result;
322316
}
323317

324-
325318
static void GetKind(RenderContext context, IList<object> arguments, IDictionary<string, object> options,
326319
RenderBlock fn, RenderBlock inverse)
327320
{
@@ -388,7 +381,6 @@ static void GetMethodName(RenderContext context, IList<object> arguments, IDicti
388381
}
389382
}
390383

391-
392384
static string GetMethodName(SwaggerOperation watchOperation)
393385
{
394386
var tag = watchOperation.Tags[0];

0 commit comments

Comments
 (0)