Allows to define the order of the operations on the summary pages and sidenav.#68
Allows to define the order of the operations on the summary pages and sidenav.#68sergeymisura wants to merge 2 commits intoDapperDox:masterfrom
Conversation
|
Thanks for the PR. We'll review as soon! |
…nsistent with gudes' SortOrder meta field
| navigationName = o.Summary | ||
| } | ||
|
|
||
| sortOrder := o.Summary |
There was a problem hiding this comment.
This doesn't work as expected if you don't define x-navigateMethodsByName: true (or set it to false), as the entries are still ordered by Summary, it it probably should be ordered by operationName (I tried this out on the standard petstore example which isn't really REST, but was good enough to see the issue).
See next comment though....
|
I've commented the code around the use of So, this has got us thinking about sorting in general. It might be useful to be able to sort by one of the following:
So, we could potentially have an global Or we add a We currently like the How does that sound to you? |
I started using Dapperdox for our project and quickly ran into the same issue as described in the #52. Here are the changes I have made to the spec parser for our own usage, in case you find them helpful: