Open
Description
Today, TypeScript does not complain about this
endpoint("GET /orgs/:org");
But it should, because the org
parameter is required. If "GET /orgs/:org"
is set, then TypeScript should complain that only one of two parameters is set and only chill once the code is
endpoint("GET /orgs/:org", {
org: 'my-org'
});
I'll get to this myself eventually, but if anyone wants to give that a go, just comment and give it a go :)