@Override
	public void customise(OpenAPI openApi) {
		// Map to store operationId counts
		Map<String, Integer> operationIdCount = new HashMap<>();

		// Iterate through all the paths
		for (Map.Entry<String, PathItem> pathEntry : openApi.getPaths().entrySet()) {
			PathItem pathItem = pathEntry.getValue();

			// Process all HTTP methods for the path (GET, POST, PUT, DELETE, etc.)
			processOperation(pathItem.getGet(), operationIdCount);
			processOperation(pathItem.getPost(), operationIdCount);
			processOperation(pathItem.getPut(), operationIdCount);
			processOperation(pathItem.getDelete(), operationIdCount);
			processOperation(pathItem.getPatch(), operationIdCount);
			processOperation(pathItem.getHead(), operationIdCount);
			processOperation(pathItem.getOptions(), operationIdCount);
			processOperation(pathItem.getTrace(), operationIdCount);
		}
	}
The type Operation id customizer.

@author bnasslahsen
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/customizers/OperationIdCustomizer.java