Skip to content

feat: allow for order of rendering be overridden in docs #502

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tinygrasshopper
Copy link
Collaborator

No description provided.

@tinygrasshopper tinygrasshopper requested a review from a team as a code owner April 25, 2025 12:05
@tinygrasshopper tinygrasshopper force-pushed the feat/allow-for-order-override branch from 59398d9 to 6242b57 Compare April 25, 2025 12:06
@mikeromard
Copy link
Collaborator

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants