Skip to content

[Schema Inaccuracy] scim-enterprise-user examples use "User" (capital U) but user-role schema enum only defines "user" (lowercase) #6644

Description

@rahulsom

Schema Inaccuracy

The scim-enterprise-user and scim-enterprise-user-list examples both have roles[].value set to "User" (capital U), but the user-role schema defines value as an enum whose only user-role entry is "user" (all lowercase).

Identified at schema commit ef4e98d.

Affected examples:

  • #/components/examples/scim-enterprise-user/value
  • #/components/examples/scim-enterprise-user-list/value

Expected

The roles[].value field in both examples should use "user" (lowercase) to match the enum values defined in #/components/schemas/user-role/items/properties/value.

Reproduction Steps

The schema defines the enum as:

# /components/schemas/user-role/items/properties/value
enum:
  - user
  - guest_collaborator
  - enterprise_owner
  - billing_manager
  - ...

But both examples contain:

"roles": [{ "value": "User", "primary": false }]

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions