openapi-generator-cli
openapi-generator-cli copied to clipboard
[Question] ES Modules support for TS/JS client generators
Hey, i am curious, is it possible to add ES Modules support to TS/JS generators? Right now it is possible to generate es6 modules, but Node.js recently adopted ES Modules natively. But there are some differences between es6 modules & ES Modules.
First of all it's imports:
In ES6 you would do:
import { Configuration } from './configuration';
But in native ES Modules it's
import { Configuration } from './configuration.js';
I am not really an expert on Java, but i could contribute if you point me into the right direction, thanks :)