Generating client classes
TheTFo opened this issue · comments
Tony Foster commented
Has there been consideration around creating the actual client classes using the proper HTTP method and URL? The swagger-codegen for typescript has a few different flavors, depending on what you want to use for your http library.
I'd like to use Axios, personally, but we could add arguments to specify different libraries. What do you think of something like this?
yayoc commented
I haven't had an idea for generating classes of HTTP client however it seems interesting and would be helpful.
I think adapting a specified library like Axios
is realistic so far.
Which clients should we support?
To be honest, I haven't used these HTTP clients.
Tony Foster commented
I may throw together an example PR and have you review it.
Thanks!
…On Tue, Jun 27, 2017, 8:27 AM yayoc ***@***.***> wrote:
I haven't had an idea for generating classes of HTTP client however it
seems interesting and would be helpful.
I think adapting a specified library like Axios is realistic so far.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAgWoA6WtnRr7FjwriI1Q4QffsTWWpxQks5sIPUhgaJpZM4OGFcJ>
.