Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1repos~1{owner}~1{repo}~1check-suites~1preferences/patch #5619

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/check-suite-preference/value

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

Here's a snippet

  104:       "admin" : false,
  105:       "push" : false,
  106:       "pull" : true
  107:     },
> 108:     "template_repository" : {
  109:       "id" : 1296269,
  110:       "node_id" : "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
  111:       "name" : "Hello-World-Template",
  112:       "full_name" : "octocat/Hello-World-Template",

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt
  • ghec
  • ghes-3.14
  • ghes-3.15
  • ghes-3.16
  • ghes-3.17
  • ghes-3.18

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