Seems to barf on the empty components:{} section, I removed it manually and it still errors on #59
$ npm run gen
> client@0.1.0 gen C:\Dev\[App]
> node ./codegen.js
openApi version: 3.0.1
isV3 true
(node:15668) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
at Function.entries (<anonymous>)
at Object.componentsCodegen (C:\Dev\[App]\node_modules\swagger-axios-codegen\dist\componentsCodegen\index.js:9:33)
at codegen (C:\Dev\[App]\node_modules\swagger-axios-codegen\dist\index.js:68:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:15668) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise
which was not handled with .catch(). (rejection id: 1)
(node:15668) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero
exit code.
With the following swagger.json output from Swashbuckle:
Seems to barf on the empty
components:{}
section, I removed it manually and it still errors on #59With the following swagger.json output from Swashbuckle: