Forum Discussion

j_jeyananth's avatar
j_jeyananth
New Contributor
4 years ago

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?

 

No RepliesBe the first to reply