fix(routing): compute APIContext.params when rewriting using next
#15684
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention