Read the readme and tried running the build.bat, same thing, did not compile. Sorry for the rant, but I have spent all day on this getting nowhere.Īs I said, I downloaded the generated client then opened it in VS 2017. ![]() All I have come across is just mentioning that there is an API and a bit what you can do with it. I found the little arrow (download client) button just by chance! It would help, and save countless hours of searching, if you could mention in some documentation how to actually use the REST API. Let me know how it goes or is you have any other questions! Swagger Hub - this is where we have the docs hosted and like the editor above it has export options as well but they're code gen is a few steps behind the open source one Swagger Editor - Got to of you copy and past the Swagger json into the editor you can export to many differant languages in the UI C# being one of themģ. ![]() Swagger Codegen - It's a little more work to get setup but has the most support and can be cusotmized quite a bit.Ģ. If your looking to generate client proxies there are some other options you can try, for most of our testing we used either the opensource Swagger editor or the best option is to use the swagger codegen CLI.ġ. Unfortuntely the version that ships in Visual Studio has some issues and GitHub is updated more frequently than VS. Visual Studio uses something called AutoRest to generate there REST stubs, you can see the GitHub link here:
0 Comments
Leave a Reply. |