Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1repos~1{owner}~1{repo}/patch #5606

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/full-repository/value

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

Here's a snippet

  209:     "allow_squash_merge" : true,
  210:     "allow_auto_merge" : false,
  211:     "delete_branch_on_merge" : true,
  212:     "allow_merge_commit" : true,
> 213:     "subscribers_count" : 42,
  214:     "network_count" : 0,
  215:     "license" : {
  216:       "key" : "mit",
  217:       "name" : "MIT License",

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