private Operation buildEntityOperation(HandlerMethod handlerMethod, DataRestRepository dataRestRepository,
			OpenAPI openAPI, RequestMethod requestMethod, String operationPath, MethodAttributes methodAttributes,
			ResourceMetadata resourceMetadata) {
		Class<?> domainType = null;
		if (!ControllerType.GENERAL.equals(dataRestRepository.getControllerType()))
			domainType = dataRestRepository.getDomainType();
		Operation operation = initOperation(handlerMethod, domainType, requestMethod);
		dataRestRequestService.buildParameters(openAPI, handlerMethod, requestMethod, methodAttributes, operation, resourceMetadata, dataRestRepository);
		dataRestResponseService.buildEntityResponse(operation, handlerMethod, openAPI, requestMethod, operationPath, methodAttributes, dataRestRepository, resourceMetadata);
		tagsBuilder.buildEntityTags(operation, handlerMethod, dataRestRepository);
		if (domainType != null)
			addOperationDescription(operation, requestMethod, domainType.getSimpleName().toLowerCase(), dataRestRepository);
		return operation;
	}
Build entity operation.

@param handlerMethod      the handler method
@param dataRestRepository the repository data rest
@param openAPI            the open api
@param requestMethod      the request method
@param operationPath      the operation path
@param methodAttributes   the method attributes
@param resourceMetadata   the resource metadata
@return the operation
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/data/DataRestOperationService.java