Skip to content

[Schema Inaccuracy] Wrong reference in ghec schema #5331

@abhijit-hota

Description

@abhijit-hota

Schema Inaccuracy

For the ghec JSON schemas, there seems to be a faulty example in components.examples.server-statistics.value:

"actions_stats": {
  "$ref": "server-statistics-actions.yaml"
},
"packages_stats": {
  "$ref": "server-statistics-packages.yaml"
},
"advisory_db_stats": {
  "$ref": "server-statistics-advisory-db.yaml"
}

These shouldn't be referenced.

Expected

Some valid example pertaining to components.schemas.server-statistics-* or those yaml files to be present somewhere.

Reproduction Steps

Check the ghec JSON schemas. I've checked for ghec.json and ghec.2022-11-28.json. I've checked the dereferenced schemas as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions