Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/webhooks/check-run-completed/post/requestBody #5430

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

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

The field deployment doesn't exist in the schema, but exists in the example.

   52:             "name" : "Hello-World"
   53:           }
   54:         }
   55:       } ],
>  56:       "deployment" : {
   57:         "url" : "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728",
   58:         "id" : 326191728,
   59:         "node_id" : "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=",
   60:         "task" : "deploy",

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • ghes-3.14
  • ghes-3.15
  • ghes-3.16
  • ghes-3.17
  • 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