Closed duncanbeevers closed 2 years ago
@duncanbeevers this is by design.
When there is both a query and request body then the library needs to know what params to pass in query vs body when the method is called.
To handle this, we need to provide a hint via the extra argument at time of creating a fetcher.
See test here
(why does it need to know this, doesn't the spec already say so?)
🗣 Discussion
Defining and OpenAPI3 operation with both a requestBody and query causes the
.create()
signature to expect an argument for the query portion.