create a json validation schema for the project.
What this PR does / why we need it:
Which issue this PR fixes (optional, in `fixes #1122. will close that issue when PR gets merged): fixes #1122
Special notes for your reviewer:
PR Readiness Checklist:
Complete these before marking the PR as ready to review:
- [X] the
CHANGELOG.mdrelease notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR
How to apply the json config:
YAML validation with JSON Schema in IntelliJ YAML validation with JSON Schema in vscode
Okay @thomasdarimont. I will work on that.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Hello @thomasdarimont
all the changes requested are resolved already.
@Motouom did you see my comment about adding an example for using the schema in the example yaml configuration files?
Please add a comment with the schema reference here: https://github.com/adorsys/keycloak-config-cli/blob/main/contrib/example-config/benchmark.yaml
This shows users how to use the schema reference.
I really needed this feature, but the schema in this PR appears to have issues. it wasn’t able to validate the benchmark.yaml example.
To address this, I created this repository: https://github.com/jwesselink/keycloak-import-schema The main advantage is that the schema generation is reproducible, as it uses the Keycloak OpenAPI specification as its source.
Is this something you'd like to add to this repo? Feel free to use it if you find it helpful.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
I really needed this feature, but the schema in this PR appears to have issues. it wasn’t able to validate the benchmark.yaml example.
To address this, I created this repository: https://github.com/jwesselink/keycloak-import-schema The main advantage is that the schema generation is reproducible, as it uses the Keycloak OpenAPI specification as its source.
Is this something you'd like to add to this repo? Feel free to use it if you find it helpful.
Thank you very much @jwesselink, I will consider what you have done and finish this ticket, then write to you once it is done
Hello @thomasdarimont @jwesselink @AssahBismarkabah. please review this PR on #1331. i will close this one
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
i have created a new PR on #1331.