-
Notifications
You must be signed in to change notification settings - Fork 217
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
chore(config): add Json/Cue schema #1196
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1196 +/- ##
=======================================
Coverage 79.87% 79.87%
=======================================
Files 38 38
Lines 2758 2758
=======================================
Hits 2203 2203
Misses 451 451
Partials 104 104
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -0,0 +1,112 @@ | |||
package flipt | |||
|
|||
#FliptSpec: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!
Closes: #1195
Adds JSON schema that can be used to validate YAML config files as well (using
yaml-lang-server
https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) annotationsAlso add
cue
spec from importing the JSON schema like:(https://cuetorials.com/first-steps/convert-jsonschema/)
Validated Ex: