public boolean isValidParameter(Parameter parameter, MethodAttributes methodAttributes) {
		return parameter != null && (parameter.getName() != null || parameter.get$ref() != null) && !(Arrays.asList(methodAttributes.getMethodConsumes()).contains(APPLICATION_FORM_URLENCODED_VALUE) && ParameterIn.QUERY.toString().equals(parameter.getIn()));
	}
Is valid parameter boolean.

@param parameter        the parameter
@param methodAttributes the method attributes
@return the boolean
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service/AbstractRequestService.java