Skip to content

feat(config): JSON schema #543

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
Oct 11, 2022
Merged

Conversation

tamasfe
Copy link
Contributor

@tamasfe tamasfe commented Oct 11, 2022

I took the liberty of implementing #538 as it took a few minutes only.

I added a test that is ignored by default that is used to generate the schema that can be submitted to schema store afterwards. I usually add the schema generation to my CLIs as well as a command but I don't ever recall actually using them.

Descriptions are generated from doc comments, so they are nonexistent, but completion and validation works:

image

Copy link
Member

@aviramha aviramha left a comment

Choose a reason for hiding this comment

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

This looks awesome! Can we incorporate it into the CI?
Edit:
nvm, I now see schemastore is managed using Git.

@eyalb181 eyalb181 merged commit 0cc2147 into metalbear-co:main Oct 11, 2022
@aviramha aviramha mentioned this pull request Oct 12, 2022
2 tasks
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.

3 participants