We should have better testing here. Some e2e testing we can do with [hurl](hurl.dev/), where we can write HTTP requests and assert on the responses. Otherwise, we need to collect some targets for unit testing.