mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-18 18:59:14 +00:00
update ts angularjs petstore (oas2), fix model prefix (#245)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user