private void processOperation(Operation operation, Map<String, Integer> operationIdCount) {
		if (operation != null) {
			String originalOperationId = operation.getOperationId();

			// Check if operationId already exists
			if (originalOperationId != null && operationIdCount.containsKey(originalOperationId)) {
				// Get the count for the current operationId and increment
				int count = operationIdCount.get(originalOperationId);
				count++;
				operationIdCount.put(originalOperationId, count);

				// Create new unique operationId by appending _x
				String newOperationId = originalOperationId + "_" + count;
				operation.setOperationId(newOperationId);
			}
			else {
				// First time this operationId is seen, initialize the count
				operationIdCount.put(originalOperationId, 0);
			}
		}
	}
Process operation.

@param operation        the operation
@param operationIdCount the operation id count
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/customizers/OperationIdCustomizer.java