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

Replace koa-router with custom Swagger-aware router #4

Open
carlansley opened this issue Nov 1, 2016 · 4 comments
Open

Replace koa-router with custom Swagger-aware router #4

carlansley opened this issue Nov 1, 2016 · 4 comments

Comments

@carlansley
Copy link
Owner

Specifically, we need a better router than can populate the context.params object with all the various swagger-defined parameters (from the path, header, query, formData or body), and map them to the correct types (e.g. to an actual array from a CSV formatted string).

@catest
Copy link

catest commented May 26, 2017

+1

@dmpvost
Copy link

dmpvost commented Feb 1, 2018

Hi, there is something like this today?
I'm working with swagger2-koa.

I would like to write it maybe in typescript with data models generate by codegen for angular.

I have some question how to start too, maybe you can help me.

https://stackoverflow.com/questions/48564056/typescript-how-generate-this-in-javascript/48565538#48565538

Again thank for this very good node library

@carlansley
Copy link
Owner Author

No not today, however I'd like to implement this at some point. It's not a small effort unfortunately.

@carlansley
Copy link
Owner Author

@dmpvost I added an answer to your SO question, hopefully it helps.

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

No branches or pull requests

3 participants