ad-on-is/adonis-autoswagger

Production bug: trying to load different file

zecar opened this issue · 1 comments

In production build, the /swagger route tries to load
ep2-api/build/config/../swagger.yaml -> .yaml, but the generated file is .yml

I believe it's because of this line:

private async readFile(rootPath, type = "yaml") {

Oh... thx.. fixed in 3.12.0