Skip to content

[Schema Inaccuracy] Invalid example at /enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories response #5057

@rahulsom

Description

@rahulsom

Schema Inaccuracy

These are the JSON refs

#/paths/~1enterprises~1{enterprise}~1apps~1organizations~1{org}~1installations~1{installation_id}~1repositories~1remove/patch/responses/200/content/application~1json/examples/default/value
#/paths/~1enterprises~1{enterprise}~1apps~1organizations~1{org}~1installations~1{installation_id}~1repositories~1add/patch/responses/200/content/application~1json/examples/default/value
#/paths/~1enterprises~1{enterprise}~1apps~1organizations~1{org}~1installations~1{installation_id}~1repositories/get/responses/200/content/application~1json/examples/default/value

Unrecognized field "login"

The example has this

    3:   "name" : "Hello World",
    4:   "full_name" : "octocat/Hello-World"
    5: }, {
    6:   "id" : 2,
>   7:   "login" : "Goodbye World",
    8:   "full_name" : "octocat/Goodbye-World"
    9: } ]

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