Bug Report
| Q |
A |
| Version(s) |
latest/all |
Summary
When an API is set to use url versioning, the listener auto prepends the version segment into the route config however, it doesn't check the route TYPE. If the route type is anything other than Segment, it will break the routing and mean the route will never match.
How to reproduce
- Enable url versioning on a route.
- Set it's route type to Literal
Expected behavior
Suggest either automatically changing the route type to Segment or throwing an exception stating that the route must already be a segment route type.