Skip to content

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

Open
@brock-greman-driscolls

Description

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.

Activity

zegl

zegl commented on Jun 19, 2023

@zegl

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

frankie567

frankie567 commented on Sep 26, 2023

@frankie567

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @zegl@frankie567@becco@brock-greman-driscolls

      Issue actions

        [Schema Inaccuracy] company and email properties of team-organization (and likely organization-full) should have null as available · Issue #2507 · github/rest-api-description