forked from loafle/openapi-generator-original
* issue #2845: enable 'supportsMultipleInheritance' on typescript angular client codegen - note I reran ./bin/openapi3/typescript-angular-petstore-all.sh and no changes occurred. this suggests to me that the petstore.yaml sample should be improved to make use of the anyOf / allOf / oneOf keywords, in order to better show the effects of changes on generated code. * issue #2845: run ./bin/openapi3/typescript-angular-petstore-all.sh * run `mvn clean package && ./bin/typescript-angular-petstore-all.sh` * revert extranous files
This commit is contained in:
parent
6a4e92887a
commit
c63cf7e5f3
@ -67,6 +67,8 @@ public class TypeScriptAngularClientCodegen extends AbstractTypeScriptClientCode
|
|||||||
super();
|
super();
|
||||||
this.outputFolder = "generated-code/typescript-angular";
|
this.outputFolder = "generated-code/typescript-angular";
|
||||||
|
|
||||||
|
supportsMultipleInheritance = true;
|
||||||
|
|
||||||
embeddedTemplateDir = templateDir = "typescript-angular";
|
embeddedTemplateDir = templateDir = "typescript-angular";
|
||||||
modelTemplateFiles.put("model.mustache", ".ts");
|
modelTemplateFiles.put("model.mustache", ".ts");
|
||||||
apiTemplateFiles.put("api.service.mustache", ".ts");
|
apiTemplateFiles.put("api.service.mustache", ".ts");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user