Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1user~1migrations~1{migration_id}/get #5653

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/migration/value

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

Here's a snippet

  125:       "push" : false,
  126:       "pull" : true
  127:     },
  128:     "allow_rebase_merge" : true,
> 129:     "template_repository" : null,
  130:     "temp_clone_token" : "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
  131:     "allow_squash_merge" : true,
  132:     "allow_auto_merge" : false,
  133:     "delete_branch_on_merge" : true,

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt
  • ghec

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