swagger-ui
swagger-ui copied to clipboard
operationsSorter and tagsSorter in swagger-ui-react
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.