Issue with `.prefix` on `HttpApi` Not Functioning as Expected

I want to report that the .prefix on HttpApi doesn't do anything, I had to prefix the individual groups:

export const restApi = HttpApi.make("restApi")
    .add(articlesGroup.prefix("/api"))
    .add(batchGroup.prefix("/api"))
    .middleware(Authorization)
    .middleware(RateLimit);
Was this page helpful?