simulate this circuit – Schematic created using CircuitLab
STM32, as from User323693 previous answer, has a "Single Wire" mode very close to what "onewire" require for.
Caveat about is we require a simultaneous receive and transmit to implement OW over Usart.
ST provide HAL_HalfDuplex_EnableTransmitter(), HAL_HalfDuplex_EnableReceiver() this way receiver is off when transmit and viceversa.
Hacking Hal library I produced a full duplex mode Single Wire Library, actual preview code is here: Single wire Access Onewire on STM32.
Inspired from this post I plan complete code and get published in a short time
Edit: march 23 code was published on GitHub, HAL version was buggy so I released a new LL based one has no issue on IRQ.
LL version tested over STM32F030 (release), F401, F303RETX, (both HAL and LL), G071.