Ignore query string when extracting path parameters
Closes gh-285
This commit is contained in:
@@ -116,7 +116,7 @@ public class PathParametersSnippet extends AbstractParametersSnippet {
|
||||
|
||||
@Override
|
||||
protected Set<String> extractActualParameters(Operation operation) {
|
||||
String urlTemplate = extractUrlTemplate(operation);
|
||||
String urlTemplate = removeQueryStringIfPresent(extractUrlTemplate(operation));
|
||||
Matcher matcher = NAMES_PATTERN.matcher(urlTemplate);
|
||||
Set<String> actualParameters = new HashSet<>();
|
||||
while (matcher.find()) {
|
||||
|
||||
Reference in New Issue
Block a user