API routes directory

I'd like to have all my routes grouped together.
In the image example I provide, everything works fine, but datasource.get.ts and datasource.post.ts are outside of the /datasource directory.
Is there a way to do so ?
image.png
Was this page helpful?