Ask a Question

how to define the order in which API should be shown in Swagger UI

j_jeyananth
New Contributor

how to define the order in which API should be shown in Swagger UI

Assume I have 2 APIs as below in the swagger SPEC. in the swagger SPEC it is in the same order

             mywebstore/abcapi1

             mywebstore/aaaapi2

 

However , in swagger it appears in the following order

             mywebstore/aaaapi2

             mywebstore/abcapi1

 

ie, it appears in ascending order.

Is there any way to tell swagger UI that the APIs should be shown in same order as in the swagger SPEC file?

 

Arul
cancel
Showing results for 
Search instead for 
Did you mean: