Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1enterprises~1{enterprise}~1rulesets~1{ruleset_id}~1history~1{version_id}/get #5872

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the JSON ref for the example

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

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

Affected Schema Refs

#/paths/~1enterprises~1{enterprise}~1rulesets~1{ruleset_id}~1history~1{version_id}/get

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • 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