swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

operationsSorter and tagsSorter in swagger-ui-react

Open joaquinvanschoren opened this issue 2 years ago • 0 comments

Content & configuration

import SwaggerUI from "swagger-ui-react";
return (
<SwaggerUI url="api.json"/>
)

Is your feature request related to a problem?

I can't find any way to set an operationsSorter or tagsSorter in swagger-ui-react. They are not exposed as props.

Describe the solution you'd like

A way to sort by operations and tags.

Describe alternatives you've considered

I tried using a swagger-config.yaml config file in the react project root as well, but it doesn't seem to do anything.

joaquinvanschoren avatar Jun 23 '22 11:06 joaquinvanschoren