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

Generated JS client should include request/response interceptors, too #222

Open
srchulo opened this issue Sep 3, 2018 · 0 comments
Open

Comments

@srchulo
Copy link

srchulo commented Sep 3, 2018

Is your feature request related to a problem?

I'd like to know when any request in my generated Swagger client fails, but there is no interceptor support for the generated JS client. I like using a generated client more as I feel this is more natural.

Describe the solution you'd like

I'd like for the generated swagger JS code to include request/response interceptor support, just like it does when you pass it a spec url.

Describe alternatives you've considered

I've considered wrapping all of my callbacks in an outer callback so I can receive all responses in that first, but this seems less ideal as if I forget to wrap one callback, I won't get the functionality that I want.

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

1 participant