Adding a Parameter to an API Group

Is it possible to add a param to an entire api group? Something like this:

const idParam = HttpApiSchema.param("id", Schema.NumberFromString)

const usersGroup = HttpApiGroup.make("users").add(
HttpApiEndpoint.get("getUserInfo")`/`.addSuccess(User)
).prefix`/tenants/{idParam}`
Was this page helpful?