Skip to content

[Schema Inaccuracy] Invalid example for path /scim/v2/organizations/{org}/Users/{scim_user_id} #5055

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the JSON ref

#/paths/~1scim~1v2~1organizations~1{org}~1Users~1{scim_user_id}/patch/requestBody/content/application~1json/examples/default/value

The example has this

         {
            "Operations" : [ {
              "op" : "replace",
              "value" : {
                "displayName" : "Octocat"
              }
            } ]
          }

displayName is not supported there by the schema.

Reproduction Steps

I found this in ghec.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions