Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get #5590

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

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

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

Here's a snippet

   95:       "admin" : false,
   96:       "push" : false,
   97:       "pull" : true
   98:     },
>  99:     "template_repository" : {
  100:       "id" : 1296269,
  101:       "node_id" : "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
  102:       "name" : "Hello-World",
  103:       "full_name" : "octocat/Hello-World",

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

      SYSTEM_READY >> ...MS