Skip to content

Show comments of JSON Schema in Documentation #336

@andreas-hilti

Description

@andreas-hilti

The comments that are part of the JSON schema are not shown in the documentation. Can they be added?

Example:
refType has a comment

"$comment": "value SHOULD not start with the BOM-Link intro 'urn:cdx:'"

"refType": {
"description": "Identifier for referable and therefore interlink-able elements.",
"type": "string",
"minLength": 1,
"$comment": "value SHOULD not start with the BOM-Link intro 'urn:cdx:'"
},

However, this does not show up in the documentation:
https://cyclonedx.org/docs/1.5/json/#metadata_component_bom-ref
grafik

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions