-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endpoints['GET /repos/{owner}/{repo}/git/trees/{tree_sha}']
response is too relaxed
#285
Comments
Endpoints['GET /repos/{owner}/{repo}/git/trees/{tree_sha}']
response mode is too relaxedEndpoints['GET /repos/{owner}/{repo}/git/trees/{tree_sha}']
response mode/type is too relaxed
Endpoints['GET /repos/{owner}/{repo}/git/trees/{tree_sha}']
response mode/type is too relaxedEndpoints['GET /repos/{owner}/{repo}/git/trees/{tree_sha}']
response is too relaxed
As in #284, may I ask you to do me a favor and report this issue in https://github.com/github/rest-api-description, similar to e.g. github/rest-api-description#228? I can do it myself eventually but I have other priorities right now. If you could report it we would get it fixed faster |
Thanks @ojab. Please let us know once the problem was resolved at github/rest-api-description#229 |
For folks who find this issue like I did - it's also too relaxed in the sense that |
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: