[BUG] Typescript - Multiple imports missing comma
Bug Report Checklist
Description
The following yaml file has multiple instances where two exports are import into the same file: eg:
import { this that } from "./example.ts";
Problem being, the comma is missing in the above example, for instance the correctly generated code should be:
import { this, that } from "./example.ts";
openapi-generator version
Latest npm version
Steps to reproduce
- Download the code snippet above in the description
- npx @openapitools/openapi-generator-cli generate -i beacon-node-oapi.yaml -g typescript-node -o ./generated-source
- Navigate to
generated-typescript/api/beaconApi.tsline 37. You should see:
import { String AnyType } from '../model/string AnyType';
There are other instances of this, but this one stands out.
👍 Thanks for opening this issue! 🏷 I have applied any labels matching special text in your issue.
The team will review the labels and make any necessary changes.
Have you tested with the latest master (e.g. snapshot or build from master) to see if it's still an issue?
I have not. I only ran with npm
Does anyone have an update/info on this issue?
same problem here