Skip to content

Commit 0a91539

Browse files
committed
support "any" type
1 parent 115b02e commit 0a91539

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/decision/swagger/codegen/typescript/angular2/TypescriptAngular2Generator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public void processOpts() {
3131
public TypescriptAngular2Generator() {
3232
super();
3333
this.outputFolder = "generated-code/typescript-angular2";
34-
typeMapping.put("Date","Date");
34+
typeMapping.put("Date", "Date");
35+
typeMapping.put("any", "any");
3536
embeddedTemplateDir = templateDir = "typescript-angular2";
3637
apiPackage = "api";
3738
modelPackage = "model";

0 commit comments

Comments
 (0)