Skip to content

Commit

Permalink
fix(rest) : Add licenseInfoHeaderText in summaryAdministration api re…
Browse files Browse the repository at this point in the history
…sponse
  • Loading branch information
keerthi-bl committed Jan 22, 2025
1 parent 975e30f commit f5f875d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2961,7 +2961,6 @@ public ResponseEntity<EntityModel<Project>> getAdministration(
sw360Project.unsetReleaseIdToUsage();
sw360Project.unsetProjectResponsible();
sw360Project.unsetSecurityResponsibles();
sw360Project.unsetLicenseInfoHeaderText();

return new ResponseEntity<>(userHalResource, HttpStatus.OK);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2451,6 +2451,7 @@ public void should_document_create_summary_administration() throws Exception {
fieldWithPath("state").description("The project active status, possible values are: " + Arrays.asList(ProjectState.values())),
fieldWithPath("phaseOutSince").description("The project phase-out date"),
fieldWithPath("clearingRequestId").description("Clearing Request id associated with project."),
fieldWithPath("licenseInfoHeaderText").description("LicenseInfoHeaderText associated with project."),
subsectionWithPath("externalUrls").description("A place to store additional data used by external URLs"),
subsectionWithPath("_embedded.createdBy").description("The user who created this project"),
subsectionWithPath("_embedded.projectResponsible").description("The project responsible displayed").type(JsonFieldType.OBJECT).optional(),
Expand Down

0 comments on commit f5f875d

Please sign in to comment.