Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

one liner to host the client generation as a service #313

Open
koo9 opened this issue Sep 28, 2016 · 4 comments
Open

one liner to host the client generation as a service #313

koo9 opened this issue Sep 28, 2016 · 4 comments

Comments

@koo9
Copy link

koo9 commented Sep 28, 2016

not sure if this is in the plan (haven't really look into how this tool works) but from the front page, we need to write our own code to generate the client one controller at a time. just wondering if this tool can work like swagger, with minimum config, the consumer can point to a url e.g /client to download a client of the negotiate type, c#, ts, etc.

just a thoguht.

@RicoSuter
Copy link
Owner

RicoSuter commented Sep 28, 2016

Something like an OWIN middleware which serves not only the Swagger spec but also the client code for TS and CSharp?

At the moment you can definitely build such a service with not much effort...

@koo9
Copy link
Author

koo9 commented Sep 28, 2016

yes, so that the consumer can grab client wrapper and go since the caller just need the client. the service is just a transportation layer. better yet, if all comments are in the client code generated. so no swagger ui and such.

@whoiskevinrich
Copy link

the moment you can definitely build such a service with not much effort

Is there an example of this anywhere? I'm trying to wrap my head around how I could accomplish this.

@koo9
Copy link
Author

koo9 commented Aug 8, 2017

@whoiskevinrich not so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants