You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using dots in pathname the routes don't get included in the generated swagger. Is there any specific reason for this?
Example
importswaggerfrom"@elysiajs/swagger"importElysiafrom"elysia"constapp=newElysia().use(swagger()).get("/test",()=>"Hello World").get("/test.2",()=>"Hello World 2").group("/v1.2",(app)=>app.get("/test",()=>({status: "ok"}))).listen(3001)
Routes with dot in the path are not included
EDIT
So it seems like if i set excludeStaticFile: false, it does indeed include my paths with dots since the filterPaths in utils considers any path with a dot as a static file.
The text was updated successfully, but these errors were encountered:
When using dots in pathname the routes don't get included in the generated swagger. Is there any specific reason for this?
Example
Routes with dot in the path are not included
EDIT
So it seems like if i set
excludeStaticFile: false,
it does indeed include my paths with dots since thefilterPaths
in utils considers any path with a dot as a static file.The text was updated successfully, but these errors were encountered: