Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1rate_limit/get #5604

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/rate-limit-overview/value

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

Here's a snippet

   53:       "used" : 0,
   54:       "remaining" : 15000,
   55:       "reset" : 1691594631
   56:     },
>  57:     "dependency_snapshots" : {
   58:       "limit" : 100,
   59:       "used" : 0,
   60:       "remaining" : 100,
   61:       "reset" : 1691591091

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • ghes-3.14
  • ghes-3.15
  • ghes-3.16
  • ghes-3.17
  • ghes-3.18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions