Skip to content

Commit

Permalink
Merge pull request #4409 from wratner/bug/export-component-json-media…
Browse files Browse the repository at this point in the history
…-type
  • Loading branch information
nscuro authored Nov 26, 2024
2 parents f56730e + b078070 commit 193d0f9
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 193d0f9

Please sign in to comment.