guokr / swagger-py-codegen

a Python web framework generator supports Flask, Tornado, Falcon, Sanic
554 stars 154 forks source link

Generated operations at UI is not sorted #95

Closed leslie-wang closed 7 years ago

leslie-wang commented 7 years ago

Need sorted based on alphabet order, or the other in the spec. Currently it is out of order, so hard to navigate when number of operations grow.

leslie-wang commented 7 years ago

Just update what I found. Seems like the problem happens during convert yaml file to json stage. Converted json file is out of order. If I replace json file with right one, it can display correctly.

fantastao commented 7 years ago

As I know, operations would be grouped by tags if you define them in swagger spec.