-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 schema for JReleaser #2793
Comments
Before submitting a PR I've to ask for additional information regarding validation during tests. I'm getting the following error
The "headers" : {
"allOf" : [ {
"$ref" : "#/definitions/StringProperties"
}, {
"additionalProperties" : {
"type" : "string"
}
} ]
},
The schema is automatically generated using https://github.com/victools/jsonschema-generator and its Jackson module. Would love to get some help in configuring the schema generator so that the generated schema complies with tests. TIA. |
@aalmiray Before: {
"additionalProperties": {
"type": "string"
}
} After fix: {
"type": "object",
"additionalProperties": {
"type": "string"
}
} This fix is only present in the first item specified in the |
Thank you for the tip. I've manually made adjustments to the schema file and have successfully ran all tests. Now it's the matter of adjusting the automatic schema generator. Will come back when ready. |
Signed-off-by: Andres Almiray <[email protected]>
* Add schema for JReleaser configuration files (#2793) Signed-off-by: Andres Almiray <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Andres Almiray <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
PR #2939 has been merged. This can be closed. |
…maStore#2939) * Add schema for JReleaser configuration files (SchemaStore#2793) Signed-off-by: Andres Almiray <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Andres Almiray <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Description of the JSON schema.
JReleaser is a release automation tool. Its goal is to simplify creating releases and publishing artifacts to multiple package managers while providing customizable options.
Supporting information.
Schema for the upcoming 1.5.0 release jreleaser-1.5.0-SNAPSHOT-schema.json.txt
Are you making a PR for this?
Yes, I will create a PR.
The text was updated successfully, but these errors were encountered: