Run the command swaggerGen -c ./swaggerConfig.json
Expected output
$ <Some invalid message here.
Actual output
$ Generation completed.
Although this is trivial for now since it can be checked properly during dev, this might be a problem for some tasks such as creating the files dynamically or automating a pipieline.
Problem
Upon running
swaggerGen -c ./swaggerConfig.json
, invalid directories are not properly validated.swaggerConfig.json
Prerequisites
tests/apis.ts
Steps to replicate
swaggerConfig.json
swaggerConfig.json
swaggerGen -c ./swaggerConfig.json
Expected output
Actual output
Although this is trivial for now since it can be checked properly during dev, this might be a problem for some tasks such as creating the files dynamically or automating a pipieline.