Skip to content

[Schema Inaccuracy] company and email properties of team-organization (and likely organization-full) should have null as available #2507

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

Open
brock-greman-driscolls opened this issue Apr 28, 2023 · 2 comments

Comments

@brock-greman-driscolls
Copy link

Schema Inaccuracy

team-organization does not specify that null is an acceptable value for company and email properties. Neither does organization-full yet my org has a null email and company.

Expected

The company and email properties can be null.

Reproduction Steps

$ curl -X POST https://api.github.com/orgs/DriscollsInc

company and email are null and, to be frank, I don't even know how I'd go about setting company on this Org at this point.

@zegl
Copy link

zegl commented Jun 19, 2023

This also applies to the location field, which is also nullable but is specified to always be a string.

@frankie567
Copy link

frankie567 commented Sep 26, 2023

Also applies to name and blog fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants