Closed zecar closed 2 months ago
In production build, the /swagger route tries to load ep2-api/build/config/../swagger.yaml -> .yaml, but the generated file is .yml
ep2-api/build/config/../swagger.yaml
I believe it's because of this line: https://github.com/ad-on-is/adonis-autoswagger/blob/1ac53bfab9c080ff5fc48504bdb3f97d02c9db1a/src/autoswagger.ts#L154
Oh... thx.. fixed in 3.12.0
In production build, the /swagger route tries to load
ep2-api/build/config/../swagger.yaml
-> .yaml, but the generated file is .ymlI believe it's because of this line: https://github.com/ad-on-is/adonis-autoswagger/blob/1ac53bfab9c080ff5fc48504bdb3f97d02c9db1a/src/autoswagger.ts#L154