Skip to content

[Schema Inaccuracy] Invalid example in webhooks/check-run-requested-action #5034

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the JSON ref

#/webhooks/check-run-requested-action/post/requestBody/content/application~1json/examples

Unrecognized field administration. Known properties: "issues", "checks", "deployments", "metadata", "contents"

Path: check_run -> check_suite app -> permissions -> administration

The example has this

   82:         "html_url" : "https://github.com/apps/octocoders-linter",
   83:         "created_at" : "2019-04-19T19:36:24Z",
   84:         "updated_at" : "2019-04-19T19:36:56Z",
   85:         "permissions" : {
>  86:           "administration" : "write",
   87:           "checks" : "write",
   88:           "contents" : "write",
   89:           "deployments" : "write",
   90:           "issues" : "write",

Reproduction Steps

I found this in
- ghes-3.14
- ghes-3.15
- ghes-3.16
- ghes-3.17
- ghec
- fpt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions