swaggo / gin-swagger

gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
MIT License
3.76k stars 270 forks source link

Add support for ‘operationsSorter’ please #211

Closed izhaoyun closed 2 years ago

izhaoyun commented 2 years ago

According to the official documentation of swagger-ui, there is a parameter called "operationsSorter" that allows the user to adjust the order of the API endpoints. However, I found that the package-level variable swaggerIndexTpl does not contain this configurable field. Can this feature be supported please?