yonaskolb / SwagGen

OpenAPI/Swagger 3.0 Parser and Swift code generator
MIT License
626 stars 146 forks source link

Sort operations by path and then method #185

Closed Liquidsoul closed 4 years ago

Liquidsoul commented 5 years ago

When listing operations, it's better to have operations always in the same order to prevent generated code to change from one generation to the other with the same input. So this introduces the sorting of operations first by path and then by method.

yonaskolb commented 4 years ago

Thanks @Liquidsoul. Could you add a changelog as well

Liquidsoul commented 4 years ago

@yonaskolb Changelog entry added.