openapi-typescript-fetch icon indicating copy to clipboard operation
openapi-typescript-fetch copied to clipboard

Fix strictness of query params

Open happycollision opened this issue 2 years ago • 0 comments
trafficstars

In cases where a non-GET request has optional query params, the .create() function incorrectly allow you to omit them. This runtime code must be present so the library can distinguish between body and query parameters, even if the actual call omits the optional param

happycollision avatar Jan 19 '23 16:01 happycollision