Skip to content

Commit

Permalink
Add cyclonedx json media type when exporting components
Browse files Browse the repository at this point in the history
Signed-off-by: Will Ratner <Will Ratner>
Signed-off-by: Will Ratner <[email protected]>
Signed-off-by: antoinbo <[email protected]>
  • Loading branch information
wratner authored and antoinbo committed Nov 28, 2024
1 parent b4f049b commit a97873d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public Response exportProjectAsCycloneDx (

@GET
@Path("/cyclonedx/component/{uuid}")
@Produces(CycloneDxMediaType.APPLICATION_CYCLONEDX_XML)
@Produces({CycloneDxMediaType.APPLICATION_CYCLONEDX_XML, CycloneDxMediaType.APPLICATION_CYCLONEDX_JSON})
@Operation(
summary = "Returns dependency metadata for a specific component in CycloneDX format",
description = "<p>Requires permission <strong>VIEW_PORTFOLIO</strong></p>"
Expand Down

0 comments on commit a97873d

Please sign in to comment.