Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1repos~1{owner}~1{repo}~1rulesets~1{ruleset_id}~1history~1{version_id}/get #5859

@rahulsom

Description

@rahulsom

This is the JSON ref for the example

#/components/examples/repository-ruleset-version-with-state/value

The example contains an array, but the schema expects a single object.

Affected Schema Refs

#/paths/~1repos~1{owner}~1{repo}~1rulesets~1{ruleset_id}~1history~1{version_id}/get

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt
  • ghec
  • ghes-3.19

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