cancel
Showing results for 
Search instead for 
Did you mean: 

grouping versions and display different versions consecutively

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
Highlighted
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.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓