postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.81k stars 839 forks source link

[Feature Request] - Code generation pure c# - HttpClient #3062

Open zaceverett opened 7 years ago

zaceverett commented 7 years ago

Would it be possible to include a code generator for pure c# possbily using HttpClient.

I know there is already a generator for c# RestSharp, obviously this creates a dependency on this library. Using pure c# gives a sound base for developers using Postman documentation to immediately create a simple call to an API endpoint.

numaanashraf commented 7 years ago

@zaceverett Thanks for the suggestion. The code generation module of Postman is open-sourced at https://github.com/postmanlabs/httpsnippet-fsless and we always welcome contributions there. 😃

AlexHedley commented 4 years ago

Would this be better using https://github.com/postmanlabs/postman-code-generators now?

kevinswiber commented 4 years ago

@AlexHedley Yes, that’s right!

AlexHedley commented 4 years ago

For ref: https://github.com/postmanlabs/postman-code-generators/pull/57