The problem of swagger2 sorting

The

springboot project uses swagger2 to automatically generate documents, but after generation, it is found that the order of the interfaces in the document is not in the order in the code.
how do I use the order in the code, or can I customize the sorting rules?

Jan.26,2022

add a prefix + number together, but it is not very elegant


now


I don't know if the landlord has a solution

.
Menu