path name check is ignored when refed parameter exists
@@ -560,7 +560,7 @@ public class OpenAPIDeserializer {
return false;
} else {
Parameter pathParamDefined = parameters.stream()
- .filter(parameter -> pathParam.equals(parameter.getName()) && "path".equals(parameter.getIn()))
+ .filter(parameter -> (parameter.get$ref() != null) || (pathParam.equals(parameter.getName()) && "path".equals(parameter.getIn())))
.findFirst()
.orElse(null);
if (pathParamDefined == null) {
