sort methods to make api generations reproducible#3266
sort methods to make api generations reproducible#3266slavb18 wants to merge 1 commit intoswagger-api:masterfrom
Conversation
|
There's actually a downside to this. When it comes to the spec, the order is meaningless. I can see why some people may want it ordered, but they don't necessarily want it alphabetically. We used to have a way to control ordering in the past, but since the order information was removed from the spec, we decided to take it out. We appreciate the effort with the PR but are inclined to not merge it. |
|
downside of not ordering is that naming of operations is different e.g. method "getData": resource.getData, resource.subresource.getData one of them gets operation name "getData" second "getData_1", May be there should be configuration option to configure ordering of methods ? |
|
A solution has been implemented in #3740, see PR comment for details and usage scenarios. Closing this ticket, any further issues in this area should be reported in a new or not closed ticket. |
No description provided.