@@ -46,7 +46,6 @@ static async Task Main(string[] args)
46
46
}
47
47
}
48
48
49
-
50
49
// gen project removed all watch operations, so here we switch back to unprocessed version
51
50
swagger = await SwaggerDocument . FromFileAsync ( Path . Combine ( args [ 1 ] , "swagger.json.unprocessed" ) ) ;
52
51
_schemaToNameMap = swagger . Definitions . ToDictionary ( x => x . Value , x => x . Key ) ;
@@ -90,7 +89,6 @@ static async Task Main(string[] args)
90
89
. Union ( _classNameToPluralMap )
91
90
. ToDictionary ( x => x . Key , x => x . Value ) ;
92
91
93
-
94
92
// Register helpers used in the templating.
95
93
Helpers . Register ( nameof ( ToXmlDoc ) , ToXmlDoc ) ;
96
94
Helpers . Register ( nameof ( GetClassName ) , GetClassName ) ;
@@ -169,8 +167,6 @@ static async Task Main(string[] args)
169
167
170
168
}
171
169
172
-
173
-
174
170
static void ToXmlDoc ( RenderContext context , IList < object > arguments , IDictionary < string , object > options ,
175
171
RenderBlock fn , RenderBlock inverse )
176
172
{
@@ -209,8 +205,6 @@ static void GetTuple(RenderContext context, IList<object> arguments, IDictionary
209
205
}
210
206
}
211
207
212
-
213
-
214
208
static void GetClassName ( RenderContext context , IList < object > arguments , IDictionary < string , object > options ,
215
209
RenderBlock fn , RenderBlock inverse )
216
210
{
@@ -321,7 +315,6 @@ static string GetInterfaceName(JsonSchema4 definition)
321
315
return result ;
322
316
}
323
317
324
-
325
318
static void GetKind ( RenderContext context , IList < object > arguments , IDictionary < string , object > options ,
326
319
RenderBlock fn , RenderBlock inverse )
327
320
{
@@ -388,7 +381,6 @@ static void GetMethodName(RenderContext context, IList<object> arguments, IDicti
388
381
}
389
382
}
390
383
391
-
392
384
static string GetMethodName ( SwaggerOperation watchOperation )
393
385
{
394
386
var tag = watchOperation . Tags [ 0 ] ;
0 commit comments