The example generated for this example is currently broken for folks using versions >= v107 of RestSharp. I have also seen the RestSharp generator break similarly for every other example i have tried, both directly in httpsnippet, as well as embedded in platforms.
This is due to breaking changes released in that version.
Is anyone currently working on a fix for this? Would love to connect.
Cheers!
Jon