swagger-api / swagger-api/swagger-ui

Sorter for Schemas

Open
#8,088 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

Content & configuration
Is your feature request related to a problem?

It is hard to browse schemas if there are lots of schemas defined as they are not sorted in any specific order.

Describe the solution you'd like

There are sorters for operations and tags, it would be great to have a sorter configuration option for schemas.

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.

Research direction

Start by locating the existing sorter configuration for operations and tags, then trace where schemas are rendered in the Swagger UI. Add a schema sorter option consistent with those existing sorters and verify that schemas appear in the configured order when many schemas are defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.