openapi-typescript icon indicating copy to clipboard operation
openapi-typescript copied to clipboard

[openapi-metadata] Support for CommonJS

Open acs opened this issue 10 months ago • 5 comments

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

acs avatar Jan 13 '25 07:01 acs