Skip to content

Show most recent fork as default example in api explorer #501

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

Merged
merged 5 commits into from
Feb 17, 2025

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Feb 11, 2025

There was some discussion related to this on discord that right now we use phase0 as default fork in examples and also render the oldest fork type in preview in api explorer.

This PR changes the order of types in anyOf to list the most current fork first as it's more relevant for users / developers looking at the explorer.

Technically these changes don't make a difference, eg. when running spec tests or similar.

@nflaig nflaig added the Electra label Feb 11, 2025
@nflaig nflaig requested a review from rolfyone February 14, 2025 13:14
Copy link
Contributor

@rolfyone rolfyone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nflaig nflaig merged commit 9dd4219 into master Feb 17, 2025
3 checks passed
@nflaig nflaig deleted the nflaig/default-example branch February 17, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants