-
Notifications
You must be signed in to change notification settings - Fork 32
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}/commits/{ref}"]
response type is incomplete
#284
Comments
Endpoints["POST /repos/{owner}/{repo}/git/trees"]
response type is inompleteEndpoints["POST /repos/{owner}/{repo}/git/trees"]
response type is incomplete
could you 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 but have other priorities right now. If you could report it we would get it fixed faster |
Sure, will do tomorrow. |
Done, sorry for that! |
Endpoints["POST /repos/{owner}/{repo}/git/trees"]
response type is incompleteEndpoints["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"]
response type is incomplete
Endpoints["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"]
response type is incompleteEndpoints["GET /repos/{owner}/{repo}/commits/{ref}"]
response type is incomplete
Ok, this one is bogus, I've looked into
I was thinking about adding a link to https://github.com/github/rest-api-description since types are actually generated based on it. |
Good idea! It wasn't the case when I created this repository, but I'll incorporate it now |
What happened?
Endpoints["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"]
has nofiles
field in response type.What did you expect to happen?
It has
files
field.What the problem might be
Content in openapi-types is
"application/json": components["schemas"]["git-commit"];
, I suppose it should be"application/json": components["schemas"]["commit"];
(which hasfiles?
field).The text was updated successfully, but these errors were encountered: