elysiajs / elysia-swagger

A plugin for Elysia to auto-generate Swagger page
MIT License
74 stars 36 forks source link

swagger run localhost:3000/swagger/ can not find .json file #125

Open zhouyujian opened 3 weeks ago

zhouyujian commented 3 weeks ago

swagger can not find .json file , web import jsonfile url is http://localhost:3000/swagger/swagger/json ,double /swagger, so find 404 jsondata file.how to set swagger config to find this json