You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library is super helpful. I'm looking to essentially pass in all options in one shot vs. creating the client, specifying the method, and then the path, as the generated OpenAPI spec spans a ton of files. Also, I'd like to throw on error vs. having to check data/errors.
So far, I've been using this workaround, which is nice, but not as simple as I'd like.
Description
This library is super helpful. I'm looking to essentially pass in all options in one shot vs. creating the client, specifying the method, and then the path, as the generated OpenAPI spec spans a ton of files. Also, I'd like to throw on error vs. having to check data/errors.
So far, I've been using this workaround, which is nice, but not as simple as I'd like.
Proposal
What I'm going for is something like this syntax, but I can't for the life of me seem to get the types to line up:
Checklist
I'm definitely open to helping, but like I said I've struck out thus far. Not even sure it's possible given the current method/path approach in play.
The text was updated successfully, but these errors were encountered: