Forum Discussion
1 Reply
You can use the
operationsSorter
parameter as described in https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md#display to control the ordering of the operations.
is there way to group versions together and display consecutively in swagger portal??
eg.
i have four endpoints
/pets v1
/pet/findById v1
/pets v2
/pet/update v1
Expectation
/pets v1
/pets v2
/pet/findById v1
/pet/update v1
You can use the operationsSorter
parameter as described in https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md#display to control the ordering of the operations.