user-docs icon indicating copy to clipboard operation
user-docs copied to clipboard

feat: allow for order of rendering be overridden in docs

Open tinygrasshopper opened this issue 7 months ago • 1 comments

tinygrasshopper avatar Apr 25 '25 12:04 tinygrasshopper

@tinygrasshopper the idea here is that if you add

x-snyk-documentation:
        order: -1

to an endpoint it will appear after the others on the page? Does this work with different values? Could we do -2 so the endpoint shows up after the -1 endpoints? +1 to push an endpoint to the top? If multiple endpoints have order -1 do they show up in the order they would have originally but still after the endpoints that don't have an order value?

mikeromard avatar Apr 25 '25 13:04 mikeromard

@tinygrasshopper this PR has been open for a few months. Is it still valid?

mikeromard avatar Jul 24 '25 13:07 mikeromard

Closing as stale/outdated.

mikeromard avatar Sep 09 '25 13:09 mikeromard