Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1enterprises~1{enterprise}~1consumed-licenses/get #5485

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/get-consumed-licenses/value

The field github_com_enterprise_role doesn't exist in the schema, but exists in the example.

Here's a snippet

   29:     "visual_studio_subscription_user" : false,
   30:     "license_type" : "enterprise",
   31:     "github_com_profile" : "",
   32:     "github_com_member_roles" : [ ],
>  33:     "github_com_enterprise_role" : "",
   34:     "github_com_enterprise_roles" : [ ],
   35:     "github_com_verified_domain_emails" : [ ],
   36:     "github_com_saml_name_id" : "",
   37:     "github_com_orgs_with_pending_invites" : [ ],

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • ghec

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions