cancel
Showing results for 
Search instead for 
Did you mean: 

grouping versions and display different versions consecutively

Highlighted
New Member

grouping versions and display different versions consecutively

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

1 REPLY 1
Moderator

Re: grouping versions and display different versions consecutively

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.

New Here?
Join us and watch the welcome video:
Join our online event
SeptemberHubBub
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win