private void fillParametersList(Operation operation, Map<String, String> queryParams, MethodAttributes methodAttributes) {
		List<Parameter> parametersList = operation.getParameters();
		if (parametersList == null)
			parametersList = new ArrayList<>();
		Collection<Parameter> headersMap = AbstractRequestService.getHeaders(methodAttributes, new LinkedHashMap<>());
		headersMap.forEach(parameter -> {
			Optional<Parameter> existingParam;
			if (!CollectionUtils.isEmpty(operation.getParameters())) {
				existingParam = operation.getParameters().stream().filter(p -> parameter.getName().equals(p.getName())).findAny();
				if (existingParam.isEmpty())
					operation.addParametersItem(parameter);
			}
		});
		if (!CollectionUtils.isEmpty(queryParams)) {
			for (Map.Entry<String, String> entry : queryParams.entrySet()) {
				io.swagger.v3.oas.models.parameters.Parameter parameter = new io.swagger.v3.oas.models.parameters.Parameter();
				parameter.setName(entry.getKey());
				parameter.setSchema(new StringSchema()._default(entry.getValue()));
				parameter.setRequired(true);
				parameter.setIn(ParameterIn.QUERY.toString());
				GenericParameterService.mergeParameter(parametersList, parameter);
			}
			operation.setParameters(parametersList);
		}
	}
Fill parameters list.

@param operation        the operation
@param queryParams      the query params
@param methodAttributes the method attributes
springdoc-openapi-starter-common/src/main/java/org/springdoc/api/AbstractOpenApiResource.java