Given an endpoint that receives a body of type A and has a url parameter of type B with name param, the generator would add the following local variables to the top of the analog controller function.
const body: A = req.body;
const param: B = cast_to_B(req.params.param);
Given an endpoint that receives a body of type A and has a url parameter of type B with name param, the generator would add the following local variables to the top of the analog controller function.