swagger-api / swagger-ui

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
https://swagger.io
Apache License 2.0
26.38k stars 8.92k forks source link

Support case-insensitive filtering of tags #8143

Open BoilerTom90 opened 2 years ago

BoilerTom90 commented 2 years ago

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:

Describe alternatives you've considered

none.

Additional context

mathis-m commented 2 years ago

See https://github.com/swagger-api/swagger-ui/pull/6851

BoilerTom90 commented 2 years ago

Very much looking forward to this PR getting merged!