Package Exports
- oas3-tools-cors
 - oas3-tools-cors/dist/index.js
 
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (oas3-tools-cors) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
This is a forked project from https://github.com/bug-hunters/oas3-tools with support for cors parameter and additional middleware
oas3-tools-cors project solves the generated code package for oas3-tools v2.2.3 not allowing cors configuration and addition of custom middleware
usage example:
const options = {
    routing: {
        controllers: path.join(__dirname, './controllers'),
    },
    cors: cors(),
    middleware: [
        auth(), helmet()    
    ]
};
const expressAppConfig = oas3Tools.expressAppConfig(path.join(__dirname, './api/openapi.yaml'), options);
const app = expressAppConfig.getApp();