openapi-typescript-fetch
openapi-typescript-fetch copied to clipboard
Fix strictness of query params
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