private void addParameters(OperationMethod operationMethod, Operation operation, Components components, ParameterIn parameterIn) {
		for (OperationParameter operationParameter : operationMethod.getParameters()) {
			Parameter parameter = getParameterFromField(operationParameter);
			if (parameter == null) continue;
			Schema<?> schema = resolveSchema(parameter, components);
			if (parameter.getAnnotation(Selector.class) != null) {
				operation.addParametersItem(new io.swagger.v3.oas.models.parameters.PathParameter()
						.name(parameter.getName())
						.schema(schema));
				operation.getResponses().addApiResponse(String.valueOf(HttpStatus.NOT_FOUND.value()), new ApiResponse().description(HttpStatus.NOT_FOUND.getReasonPhrase()));
			}
			else if (isValidParameterType(parameter)) {
				operation.addParametersItem(new io.swagger.v3.oas.models.parameters.Parameter()
						.name(parameter.getName())
						.in(parameterIn.toString())
						.schema(schema));
			}
		}
	}
Add parameters.

@param operationMethod the operation method
@param operation       the operation
@param components      the components
@param parameterIn     the parameter in
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/customizers/ActuatorOperationCustomizer.java