You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
While you generate api with typescript-angular and you will use modelSuffix as additional property, models are generated correctly, but if it is nested model for another model, the import is generated wrongly. Suffix is generated twice at the end of path from.
Example:
modelSuffix=example
GeneratedCode:
import { MunicipalityRestDtoExample } from './municipalityRestDtoExampleExample';
Bug Report Checklist
Description
While you generate api with typescript-angular and you will use modelSuffix as additional property, models are generated correctly, but if it is nested model for another model, the import is generated wrongly. Suffix is generated twice at the end of path from.
Example:
modelSuffix=example
GeneratedCode:
import { MunicipalityRestDtoExample } from './municipalityRestDtoExampleExample';
openapi-generator version
openapi-generator-cli version 7.11.0
OpenAPI declaration file content or url
Generation Details
openapi-generator-cli generate -i path/to/api.json -g typescript-angular --additional-properties=modelSuffix=example -o path/to/output/api
Steps to reproduce
The text was updated successfully, but these errors were encountered: