Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1installation~1repositories/get #5497

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/repository-paginated-2/value

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

Here's a snippet

   91:     "pushed_at" : "2011-01-26T19:06:43Z",
   92:     "created_at" : "2011-01-26T19:01:12Z",
   93:     "updated_at" : "2011-01-26T19:14:43Z",
   94:     "allow_rebase_merge" : true,
>  95:     "template_repository" : null,
   96:     "temp_clone_token" : "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
   97:     "allow_squash_merge" : true,
   98:     "allow_auto_merge" : false,
   99:     "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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions