I have defined this path `/:v/schema.json` <img width="601" alt="image" src="https://github.com/jeremydaly/lambda-api/assets/50401517/f1bdbd7b-bcf5-4d01-aada-59cbd854ea8f"> But on `/v1/schema.json` i get ``` {"error":"No such file"} ``` I think is because the automatic handling of versions. Ideas?
Activity
naorpeled commentedon May 4, 2024
Hey @edobrb,
sorry for the huge delay.
I think you're right,
have you tried invoking
GET /v1/something/schema.json?edobrb commentedon May 5, 2024
I'm currently using
something/v1/schema.jsonin order to workaround this.It would be nice an option for disable this behaviour. Let me know if I could help somehow.
naorpeled commentedon May 5, 2024
I'll discuss this with @jeremydaly and let you know
naorpeled commentedon May 15, 2024
Hey @edobrb,
still waiting for response btw, didn't forget about this 🙏
fix(sendFile): surface resolved path in "No such file" error; clarify…
naorpeled commentedon Jul 4, 2026
I'm sorry for the huge delay @edobrb :(
I'm pushing a commit to make this error more detailed, with the specific file path, so it'd be easier to debug if this case is encountered again.
I'll be closing this but feel free to ping me to re-open if still relevant.