j-d-carmichael / boats

Beautiful Open Api Template System
MIT License
57 stars 8 forks source link

WIP: Release/validation skip #64

Closed j-d-carmichael closed 3 years ago

j-d-carmichael commented 3 years ago

Please ensure your pull request:

j-d-carmichael commented 3 years ago

Super weird - i hit swagger parse issues now:

Trace: TypeError: Class is not a constructor
    at SwaggerParser.validate (/home/carmichael/code/opensource/boats/node_modules/@apidevtools/swagger-parser/lib/index.js:122:18)
    at /home/carmichael/code/opensource/boats/src/validate.ts:29:15
    at new Promise (<anonymous>)
    at Validate.openapi (/home/carmichael/code/opensource/boats/src/validate.ts:25:12)
    at Validate.decideThenValidate (/home/carmichael/code/opensource/boats/src/validate.ts:20:19)
    at exports.default (/home/carmichael/code/opensource/boats/src/bundlerSwaggerParse.ts:29:22)
    at async parseCli (/home/carmichael/code/opensource/boats/src/cli.ts:61:27)
    at catchHandle (/home/carmichael/code/opensource/boats/src/cli.ts:75:11)

It makes little sense though as the parser has not changed :/