update ts angularjs petstore (oas2), fix model prefix (#245)

This commit is contained in:
William Cheng
2018-04-27 17:09:34 +08:00
committed by GitHub
parent 3f976afca8
commit 0373b74a75
5 changed files with 49 additions and 44 deletions

View File

@@ -61,6 +61,11 @@ public class TypeScriptAngularJsClientCodegen extends AbstractTypeScriptClientCo
return addModelPrefix(openAPIType);
}
@Override
public String getTypeDeclaration(String name) {
return addModelPrefix(name);
}
@Override
public void postProcessParameter(CodegenParameter parameter) {
super.postProcessParameter(parameter);