swagger-api / swagger-api/swagger-ui
Support case-insensitive filtering of tags
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Content & configuration
Swagger-UI configuration options:
SwaggerUI({
filterCase: string ("case-sensitive"* | "case-insensitive")
})
Is your feature request related to a problem?
Yes, and no. The filter box is great, but I think most user's expectation in today's Web world is that filter boxes are not case sensitive.
It would be nice if there was an option to make the filtering case insensitive.
Describe the solution you'd like
Add another option called something like "filterCase" that supports one of two values:
- case-sensitive* (default since it's the current behavior)
- case-insensitive (new value)
Describe alternatives you've considered
none.
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Swagger UI filter implementation and configuration tests, then trace how filtering options are read. Add support for a filterCase option with case-sensitive as the default and case-insensitive as the alternative. Done means tag filtering follows the selected mode and tests cover both behaviors.
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