fix(core): run middleware once for routes that differ only in version
fix(core): run middleware once for routes that differ only in version: a task in Trending-SWE1.0 (Harbor dataset). Title: fix(core): run middleware once for routes that differ only in version
The task
**Title:** fix(core): run middleware once for routes that differ only in version
Part of scalingX/Trending-SWE1.0.