openapi-typescript
openapi-typescript copied to clipboard
[openapi-metadata] Support for CommonJS
Description
Hi team!
We are trying to use openapi-metadata in a large TypeScript project which is based on CommonJS (we plan to migrate to ESM at some point but not yet). It seems that openapi-metadata does not support CommonJS (the TS compiler suggest to change 'moduleResolution' setting 'node16', 'nodenext', or 'bundler'.).
Do you plan to support CommonJS in openapi-metadata?
Than you for your effort and time in this great project
-- Alvaro
Proposal
Support CommonJS in openapi-metadata
Extra
- [ ] I’m willing to open a PR (see CONTRIBUTING.md)