It is known that the homotopy category $\mathrm{HoTop}$ is not complete nor cocomplete. Moreover, it also fails to have filtered colimits in general. I am wondering if the universal property of the following "nice" colimit is true:

Let $X_0\to X_1\to X_2\to\cdots$ be a diagram of topological spaces with arrows being inclusions. Let $\varinjlim X_n$ be the direct limit of this diagram in $\mathrm{Top}$. For any space $Y$, suppose we have homotopy equivalent maps $f_n\simeq g_n:X_n\to Y$ for all $n$, and collections of maps $\{f_n\}_n,\{g_n\}_n$ both fit in the diagram. Is it necessarily true that their corresponding induced maps $f,g:\varinjlim X_n\to Y$ are homotopy equivalent?

We can further assume that all the spaces are CW complexes. If in general it is also false, then is there any further assumptions we may need for it being true? Any comments would be very much appreciated.