This is a configuration for 7/8" handlebar (22.2mm) measured 22.32mm.
Mount measurements - 24mm, so it needs a piece of inner tube to hold the part in place.
2x M3 14mm bolt (12mm bolt pictured)
2x M3 nut.
Print on the side with supports. See m3f file. I added custom supports for better printing.
In the previous iteration I printed the part standing up, without supports and it broke at layer boundary, so I would rather deal with cleaning up supports.
Original library – https://www.thingiverse.com/thing:62800/files
The author hasn't provided the model origin yet.