Endpoints['GET /repos/{owner}/{repo}/git/trees/{tree_sha}']
response is too relaxed
#285
Labels
Status: Blocked
Blocked by GitHub's API or other external factors
Type: Bug
Something isn't working as documented, or is being fixed
typescript
Relevant to TypeScript users only
What happened?
It returns
components["schemas"]["git-tree"]
which hastree
field defined aswhile
operations["git/create-tree"]
has request params defined asso response type is not compatible with request one.
What did you expect to happen?
mode
&type
should be compatible.What the problem might be
mode & type on
components["schemas"]["git-tree"]
should be more strict.The text was updated successfully, but these errors were encountered: