swagger-api / swagger-api/swagger-ui

swagger-ui-react sorting support

Open
#6,729 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

Hello, I was trying to see if it was possible to sort the APIs/Methods alphabetically. It does look like this is supported via apisSorter and operationSorter but these options don't seem to have any effect in swagger-ui-react.

It is specified under the Limitations:

Not all configuration bindings are available.

Is there a plan to support these in the future?

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 at the swagger-ui-react entry point and inspect how configuration options are passed through the React binding. Trace the apisSorter and operationSorter options against the documented limitation, then verify that alphabetical API and method sorting works when those options are supplied.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
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.