@@ -37,9 +37,9 @@ public void Execute_AddsExpectedMetadata()
37
37
{ "OutputPath" , outputPath } ,
38
38
{
39
39
"SerializedMetadata" ,
40
- $ "Identity={ identity } |CodeGenerator=NSwagCSharp |" +
41
- $ "OriginalItemSpec= { identity } |FirstForGenerator=true |" +
42
- $ "OutputPath= { outputPath } |ClassName=NSwagClient|Namespace= { @namespace } "
40
+ $ "Identity={ identity } |FirstForGenerator=true |" +
41
+ $ "CodeGenerator=NSwagCSharp|OutputPath= { outputPath } |Namespace= { @namespace } |" +
42
+ $ "OriginalItemSpec= { identity } |ClassName=NSwagClient"
43
43
} ,
44
44
} ;
45
45
@@ -95,9 +95,9 @@ public void Execute_DoesNotOverrideClassName()
95
95
{ "OutputPath" , outputPath } ,
96
96
{
97
97
"SerializedMetadata" ,
98
- $ "Identity={ identity } |CodeGenerator=NSwagCSharp |" +
99
- $ "ClassName= { className } |OriginalItemSpec= { identity } |FirstForGenerator=true |" +
100
- $ "OutputPath= { outputPath } |Namespace= { @namespace } "
98
+ $ "Identity={ identity } |FirstForGenerator=true |" +
99
+ $ "CodeGenerator=NSwagCSharp|OutputPath= { outputPath } |Namespace= { @namespace } |" +
100
+ $ "OriginalItemSpec= { identity } |ClassName= { className } "
101
101
} ,
102
102
} ;
103
103
@@ -153,9 +153,9 @@ public void Execute_DoesNotOverrideNamespace()
153
153
{ "OutputPath" , outputPath } ,
154
154
{
155
155
"SerializedMetadata" ,
156
- $ "Identity={ identity } |CodeGenerator=NSwagCSharp |" +
157
- $ "Namespace= { @namespace } |OriginalItemSpec= { identity } |FirstForGenerator=true |" +
158
- $ "OutputPath= { outputPath } |ClassName=NSwagClient"
156
+ $ "Identity={ identity } |FirstForGenerator=true |" +
157
+ $ "CodeGenerator=NSwagCSharp|OutputPath= { outputPath } |Namespace= { @namespace } |" +
158
+ $ "OriginalItemSpec= { identity } |ClassName=NSwagClient"
159
159
} ,
160
160
} ;
161
161
@@ -211,9 +211,9 @@ public void Execute_DoesNotOverrideOutputPath_IfRooted()
211
211
{ "OutputPath" , outputPath } ,
212
212
{
213
213
"SerializedMetadata" ,
214
- $ "Identity={ identity } |CodeGenerator=NSwagCSharp |" +
215
- $ "OutputPath={ outputPath } |OriginalItemSpec= { identity } |FirstForGenerator=true |" +
216
- $ "ClassName= { className } |Namespace= { @namespace } "
214
+ $ "Identity={ identity } |FirstForGenerator=true |" +
215
+ $ "CodeGenerator=NSwagCSharp| OutputPath={ outputPath } |Namespace= { @namespace } |" +
216
+ $ "OriginalItemSpec= { identity } |ClassName= { className } "
217
217
} ,
218
218
} ;
219
219
@@ -361,9 +361,9 @@ public void Execute_SetsClassName_BasedOnOutputPath()
361
361
{ "OutputPath" , expectedOutputPath } ,
362
362
{
363
363
"SerializedMetadata" ,
364
- $ "Identity={ identity } |CodeGenerator=NSwagCSharp |" +
365
- $ "OutputPath={ expectedOutputPath } |OriginalItemSpec= { identity } |FirstForGenerator=true |" +
366
- $ "ClassName= { className } |Namespace= { @namespace } "
364
+ $ "Identity={ identity } |FirstForGenerator=true |" +
365
+ $ "CodeGenerator=NSwagCSharp| OutputPath={ expectedOutputPath } |Namespace= { @namespace } |" +
366
+ $ "OriginalItemSpec= { identity } |ClassName= { className } "
367
367
} ,
368
368
} ;
369
369
@@ -424,9 +424,9 @@ public void Execute_SetsClassName_BasedOnSanitizedOutputPath(string outputPath,
424
424
{ "OutputPath" , expectedOutputPath } ,
425
425
{
426
426
"SerializedMetadata" ,
427
- $ "Identity={ identity } |CodeGenerator=NSwagCSharp |" +
428
- $ "OutputPath={ expectedOutputPath } |OriginalItemSpec= { identity } |FirstForGenerator=true |" +
429
- $ "ClassName= { className } |Namespace= { @namespace } "
427
+ $ "Identity={ identity } |FirstForGenerator=true |" +
428
+ $ "CodeGenerator=NSwagCSharp| OutputPath={ expectedOutputPath } |Namespace= { @namespace } |" +
429
+ $ "OriginalItemSpec= { identity } |ClassName= { className } "
430
430
} ,
431
431
} ;
432
432
@@ -491,9 +491,9 @@ public void Execute_SetsFirstForGenerator_UsesCorrectExtension()
491
491
{ "OutputPath" , outputPath1 } ,
492
492
{
493
493
"SerializedMetadata" ,
494
- $ "Identity={ identity12 } |CodeGenerator= { codeGenerator13 } |" +
495
- $ "OriginalItemSpec= { identity12 } |FirstForGenerator=true |" +
496
- $ "OutputPath= { outputPath1 } |ClassName={ className12 } |Namespace= { @namespace } "
494
+ $ "Identity={ identity12 } |FirstForGenerator=true |" +
495
+ $ "CodeGenerator= { codeGenerator13 } |OutputPath= { outputPath1 } |Namespace= { @namespace } |" +
496
+ $ "OriginalItemSpec= { identity12 } |ClassName={ className12 } "
497
497
} ,
498
498
} ;
499
499
var expectedMetadata2 = new SortedDictionary < string , string > ( StringComparer . Ordinal )
@@ -506,9 +506,9 @@ public void Execute_SetsFirstForGenerator_UsesCorrectExtension()
506
506
{ "OutputPath" , outputPath2 } ,
507
507
{
508
508
"SerializedMetadata" ,
509
- $ "Identity={ identity12 } |CodeGenerator= { codeGenerator2 } |" +
510
- $ "OriginalItemSpec= { identity12 } |FirstForGenerator=true |" +
511
- $ "OutputPath= { outputPath2 } |ClassName={ className12 } |Namespace= { @namespace } "
509
+ $ "Identity={ identity12 } |FirstForGenerator=true |" +
510
+ $ "CodeGenerator= { codeGenerator2 } |OutputPath= { outputPath2 } |Namespace= { @namespace } |" +
511
+ $ "OriginalItemSpec= { identity12 } |ClassName={ className12 } "
512
512
} ,
513
513
} ;
514
514
var expectedMetadata3 = new SortedDictionary < string , string > ( StringComparer . Ordinal )
@@ -521,9 +521,9 @@ public void Execute_SetsFirstForGenerator_UsesCorrectExtension()
521
521
{ "OutputPath" , outputPath3 } ,
522
522
{
523
523
"SerializedMetadata" ,
524
- $ "Identity={ identity3 } |CodeGenerator= { codeGenerator13 } |" +
525
- $ "OriginalItemSpec= { identity3 } |FirstForGenerator=false |" +
526
- $ "OutputPath= { outputPath3 } |ClassName={ className3 } |Namespace= { @namespace } "
524
+ $ "Identity={ identity3 } |FirstForGenerator=false |" +
525
+ $ "CodeGenerator= { codeGenerator13 } |OutputPath= { outputPath3 } |Namespace= { @namespace } |" +
526
+ $ "OriginalItemSpec= { identity3 } |ClassName={ className3 } "
527
527
} ,
528
528
} ;
529
529
0 commit comments