We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd18c23 commit 9be7ea8Copy full SHA for 9be7ea8
src/schema-routes/schema-routes.js
@@ -110,7 +110,7 @@ class SchemaRoutes {
110
originalRouteName;
111
112
const pathParamMatches = (routeName || '').match(
113
- /({[a-zA-Z]([a-zA-Z0-9-_.])*})|(:[a-zA-Z]([-_.]?[a-zA-Z0-9-_.])*:?)/g,
+ /({[a-zA-Z]([-_.]*[a-zA-Z0-9])*})|(:[a-zA-Z]([-_.]*[a-zA-Z0-9])*:?)/g,
114
);
115
116
// used in case when path parameters is not declared in requestInfo.parameters ("in": "path")
0 commit comments