Bug Report Checklist
Description
The import paths of models are broken when the option --modelSuffix is used.
// Generated e.g. with v6.2.1
import { InlineResponse200178MyTestApi } from '../model/inlineResponse200178MyTestApi'; // broken
But the file ../model/inlineResponse200178MyTestApi doesn't exists. The file name has no suffix.
//Generated with v7.0.0 (openapi-generator-cli-7.0.0-20221012.083708-4.jar)
import { InlineResponse200178MyTestApi } from '../model/inlineResponse200178'; // expected
Since you already fixed it in the new major version is there any chance that this bug could be fixed also in 6.x?
openapi-generator version
All versions >= 5.2 and < 7.0.0
OpenAPI declaration file content or url
Reproducible e.g. with https://app.swaggerhub.com/apis/binance_api/BinanceSpotAPI/1.0#/Market/get_api_v3_trades
Generation Details
$ openapi-generator-cli generate -i binance_api-BinanceSpotAPI-1.0-resolved.json -g typescript-angular -o my-test-api/src --additional-properties apiModulePrefix=MyTest,configurationPrefix=MyTestApi,enumNameSuffix=MyTestApi,modelSuffix=MyTestApi,serviceSuffix=MyTestApiService --global-property skipFormModel=false
Steps to reproduce
Generate the linked api with the command above and check the imports in e.g. the file convert.service.ts.
Bug Report Checklist
Description
The import paths of models are broken when the option
--modelSuffixis used.But the file
../model/inlineResponse200178MyTestApidoesn't exists. The file name has no suffix.Since you already fixed it in the new major version is there any chance that this bug could be fixed also in 6.x?
openapi-generator version
All versions >= 5.2 and < 7.0.0
OpenAPI declaration file content or url
Reproducible e.g. with https://app.swaggerhub.com/apis/binance_api/BinanceSpotAPI/1.0#/Market/get_api_v3_trades
Generation Details
Steps to reproduce
Generate the linked api with the command above and check the imports in e.g. the file
convert.service.ts.