-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add JSONSchema for my CLIs #67
Comments
Done. |
Input Complementation by YAML Language ServerI've published JSON Schema for configuration files of my CLIs such as aqua, tfcmt, github-comment, and so on. To do that, please add a code comment to configuration files. # yaml-language-server: $schema=<URL of JSON Schema file> About URL of JSON Schema file, please check the document of each tool out. e.g. aqua.yaml: # yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/<Schema version>/json-schema/aqua-yaml.json e.g. schema version is # yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/aqua-yaml.json If you specify a branch like To solve the problem, you can specify semver and update it periodically: e.g. schema version is v2.40.0: # yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/v2.40.0/json-schema/aqua-yaml.json Using Renovate and our Renovate Config Preset, you can automate the update: {
"extends": [
"github>suzuki-shunsuke/renovate-config:yaml-language-server#3.0.0"
]
} Then Renovate creates pull requests like this: |
https://github.com/aquaproj/aqua/blob/bd45581cf3e3c6a91a690ac8f050e89461b7bb2d/aqua/aqua.yaml#L2
https://github.com/aquaproj/aqua/tree/main/json-schema
https://github.com/aquaproj/aqua/blob/main/cmd/gen-jsonschema/main.go
The text was updated successfully, but these errors were encountered: