openapi-nodejs-sdk
openapi-nodejs-sdk copied to clipboard
Incompatibility with ES Modules (type: "module") [Node 20+]
Using import Openapi from 'openapi-sdk' in an ESM project triggers a SyntaxError: Cannot use import statement outside a module. Context: Node 20+, "type": "module" set in package.json. Workaround: Use require('openapi-sdk').default, but this breaks linting.