-
-
Notifications
You must be signed in to change notification settings - Fork 453
Closed
Copy link
Labels
component:lib-commonsIssue related to the @mockoon/commons libIssue related to the @mockoon/commons libeffort:easyQuick fixes or small tasksQuick fixes or small taskspriority:lowNice-to-have features or minor issuesNice-to-have features or minor issuesstatus:approvedIssue confirmed for implementationIssue confirmed for implementation
Milestone
Description
Problem to solve
Parameters with dashes are not properly translated to route parameters due to a too restrictive regex:
Example:
paths:
/{path-parameter}:
Does not get translated to /:pathParameter.
Proposed solution
Correctly convert dashed params to a route param.
/:path-parameter and expect the URL to be called like this: /1234-parameter. So, the parameter needs to be translated to /:pathParameter instead.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component:lib-commonsIssue related to the @mockoon/commons libIssue related to the @mockoon/commons libeffort:easyQuick fixes or small tasksQuick fixes or small taskspriority:lowNice-to-have features or minor issuesNice-to-have features or minor issuesstatus:approvedIssue confirmed for implementationIssue confirmed for implementation
Type
Projects
Status
📦 Released (v9.5.0)