Skip to content
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

Convert spec to yaml #246

Merged
merged 3 commits into from
Jun 23, 2022
Merged

Conversation

lightclient
Copy link
Member

I think changing the spec to be defined in YAML, rather than JSON, is an important step towards making it easier to write plain English descriptions of the API. Writing longer form text in JSON is pretty much out of the question. Additionally, YAML gives us the ability to add comments around certain parts of the spec. I have wanted this a few times in a weird schema definition to explain why the decision was made.

@MicahZoltu
Copy link
Contributor

For comments, you could have just added a c at the end of the file extension (jsonc). Multiline strings I don't think have a good solution though.

@lightclient lightclient merged commit 70c5668 into ethereum:main Jun 23, 2022
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