public Class getReturnType() {
		Class returnedEntityType = domainType;

		if (ControllerType.PROPERTY.equals(controllerType))
			returnedEntityType = propertyType;

		else if (ControllerType.GENERAL.equals(controllerType))
			returnedEntityType = null;

		return returnedEntityType;
	}
Gets return type.

@return the return type
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/data/DataRestRepository.java