itowlson
itowlson
FWIW there is a `http-empty` template, which is a `spin.toml` with no components, but it does set the application `trigger` to HTTP.
Additional context: https://github.com/fermyon/spin/issues/1525#issuecomment-1756104398
At this stage I would be strongly in favour of not attempting this for 2.0. With Manifest 2, it becomes a lot more practical than it was with Manifest 1...
There are a couple of things that can help with this: 1. At the raw component/trigger level, you can use `/path/...` and the `spin-path-info` header. See https://developer.fermyon.com/spin/v2/http-trigger#additional-request-information for full details...
I just ran into this too - thank you @ipkiss42 for posting the issue and for submitting a fix!
Thanks for the pointers @pchickey. I'll try to implement that pattern.
I believe we've now verified the fix with another user - is it okay to close this issue?
related: https://taplo.tamasfe.dev/configuration/developing-schemas.html#visual-studio-code-extensions (they did this for us so we should get around to making use of it!)
and indeed https://github.com/fermyon/spin-vscode/issues/2
I recall generating and installing a schema for Even Better TOML / Taplo / whatever it's called, but being dissatisfied with the results when I installed it into VS Code...