Skip to content

[Schema Inaccuracy] Invalid example for /repos/{owner}/{repo}/import requestBody #5053

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the JSON ref

#/paths/~1repos~1{owner}~1{repo}~1import/patch/requestBody/content/application~1json/examples/example-2/value

Unrecognized field "human_name" (4 known properties: "tfvc_project", "vcs_password", "vcs", "vcs_username"])

The example has this

    1: {
>   2:   "human_name" : "project1 (tfs)",
    3:   "tfvc_project" : "project1",
    4:   "vcs" : "tfvc"
    5: }

Reproduction Steps

I found this in

  • ghec
  • fpt

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