Skip to content

Commit 843f353

Browse files
committed
Add views config
1 parent becb1fe commit 843f353

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/WebApiToTypeScript/Config/Config.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,21 @@ public class Config
6060
public List<InterfaceMatch> InterfaceMatches { get; set; }
6161
= new List<InterfaceMatch>();
6262

63+
public bool GenerateViews { get; set; }
64+
= true;
65+
66+
public string ViewsSourceDirectory { get; set; }
67+
= "Views";
68+
69+
public string ViewsOutputDirectory { get; set; }
70+
= "Views";
71+
72+
public string ViewsFileName { get; set; }
73+
= "Views.ts";
74+
75+
public string ViewsNamespace { get; set; }
76+
= "Views";
77+
6378
public bool ScanOtherModules { get; set; }
6479
= true;
6580

0 commit comments

Comments
 (0)