-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The requests in the default folder are in the reverse order #13
Comments
still having same issue, any idea how to solve this ? |
Same under Linux with v2.3 and the same collection. I tried to quickly look over the code, but I don't know Go, so I will not be really useful, sorry. |
I found the code part that does the sorting. I'll create a pull request to add a command line switch to enable/disable collections sort :-) |
@FabienSailliet can you check if this problem is fixed in the latest version? Thanks :-) |
@Enrico204 I checked - the sorting problem is still there today. -s switch is visible in help and accepted. But it does not change the reverse sort order. It is reproducible with the original test json posted by @FabienSailliet |
@Enrico204 @thedevsaddam This problem is still persistent. Do we have any solution for this? |
@abhijitnathwani , Hopefully, it will be solved by next release [v3.0.0]. There will be major changes in UI. In the case of
|
Please use the latest curl https://raw.githubusercontent.com/thedevsaddam/docgen/v3/install.sh -o install.sh && sudo chmod +x install.sh && sudo ./install.sh
|
Thanks @thedevsaddam . The However, the default behavior is still ordering in reverse. We can verify that by checking the sequence in |
I'm also still seeing sorting not following the same order of the requests in the collection by default: I used the Mac binary 3.0.0-rc2 - https://github.com/thedevsaddam/docgen-bin/blob/master/latest/mac_amd64 |
The collections are ordered alphabetically, |
If we generate a Markdown or HTML file from a Postman collection, the requests directly in the collection (outside any subfolder) are reversed.
For example, with the following collection:
We get the following html:
The text was updated successfully, but these errors were encountered: