[Schema Inaccuracy] `/versions` wrong order

Open Beginner friendly
#6,376 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
openapi
Domain
api

Research direction

Start at the OpenAPI description for the GET /versions endpoint and compare its documented response with the curl reproduction and expected ordering in this issue. Done means the API description presents versions in descending order, with any relevant validation or generated output updated accordingly.

Written by the indexing model from the issue text.

Description

effort-small fundamentals-and-support

Schema Inaccuracy

"Example response"

[
  "2021-01-01",
  "2021-06-01",
  "2022-01-01"
]

Expected

[
  "2022-01-01",
  "2021-06-01",
  "2021-01-01"
]

Reproduction Steps

curl -X GET https://api.github.com/versions
Dominant language
No language data
Stars
1.6k
Forks
342
Avg merge
3h 33m
Merged PRs (30d)
51

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/rest-api-description

All issues in github/rest-api-description

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.