-
Notifications
You must be signed in to change notification settings - Fork 67
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
Simple User Type doesn't have to be null
#38
Comments
This unfortunately isn't a bug that we can fix ourselves since those types are auto-generated. I confirmed that this stems from Github's OpenAPI descriptions I would file a bug report with them and link it back to here: https://github.com/github/rest-api-description/issues/new/choose |
Ah, alright, thanks for your extremely quick answer! |
I filed an issue upstream with Github: github/rest-api-description#270 |
Looks like the upstream issues may have been resolved, would it be possible to resume work on this? |
Can you try the latest version of The |
Closing as this has been fixed now. |
Checklist
Environment
Versions
What happened?
On the schema, located at
components['schemas']['full-repository']
(from'@octokit/openapi-types'
), the value ofowner
can benull
. However, a repo has to be owned, sonull
shouldn't be here.Minimal test case to reproduce the problem
What did you expect to happen?
owner
should be only an object, not anobject
ornull
What the problem might be
Just remove
null
from the declaration file.The text was updated successfully, but these errors were encountered: