Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1issues/get #5515

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/issue-with-repo-items/value

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

Here's a snippet

  226:       "push" : false,
  227:       "pull" : true
  228:     },
  229:     "allow_rebase_merge" : true,
> 230:     "template_repository" : null,
  231:     "temp_clone_token" : "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
  232:     "allow_squash_merge" : true,
  233:     "allow_auto_merge" : false,
  234:     "delete_branch_on_merge" : true,

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

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