open-api icon indicating copy to clipboard operation
open-api copied to clipboard

support for ECMAScript modules

Open didiercolens opened this issue 3 years ago • 1 comments

now that ESM are "the official standard format to package JavaScript code for reuse" and that the feature is stable, are there plans to support them in express-openapi ?

My use case is that I have a handler that uses got and since version 12 it no longer supports cjs modules, so I can't upgrade it unless I can convert my file to an ES module, but then express-openapi would not import it.

didiercolens avatar Mar 23 '22 11:03 didiercolens

See https://github.com/kogosoftwarellc/open-api/pull/810

robertkiel avatar May 19 '22 16:05 robertkiel