Commit b29918c
authored
feat: enum labels for spdx.schema.json (#839)
<!--
Thank you for taking the time to develop and contribute a core
enhancement or fix for a defect!
We kindly request that you create pull requests only for things that
have been discussed in a ticket first; exceptions may be made for
spelling or grammar fixes.
Read more about the process here:
https://cyclonedx.org/participate/standardization-process/#working-model
Please have the related ticket/issue ID ready.
If there is none, feel free to create a new ticket:
https://github.com/CycloneDX/specification/issues/new/choose
-->
<!--
Please provide a brief description of what this pull request intends to
do and which ticket it fixes/closes.
Example:
> As discussed in ticket #485, this PR adds Streebog to the hash
algorithm enum.
>
> fixes #485
In case this is for a spelling or grammar improvement, please provide a
brief description.
Example:
> Fixe typo: color(AE) -> colour(BE)
-->
modified the generator for the SPDX schemas, so that
- the strings in the respective output tiles are escaped/safe now.
- JSON enums have labels - just like in the XML has
- JSON schema version was bumped from `v1.0-...` to `v1.1-...` since we
added the feature "labels"File tree
2 files changed
+839
-9
lines changed- schema
- tools/src/main/java/org/cyclonedx/tools
2 files changed
+839
-9
lines changed
0 commit comments