diff --git a/rest/resource-server/src/docs/asciidoc/projects.adoc b/rest/resource-server/src/docs/asciidoc/projects.adoc index 27cbc6184f..b7212f92cf 100644 --- a/rest/resource-server/src/docs/asciidoc/projects.adoc +++ b/rest/resource-server/src/docs/asciidoc/projects.adoc @@ -1219,3 +1219,17 @@ include::{snippets}/should_document_get_project_release_with_ecc_spreadsheet/cur ===== Example response include::{snippets}/should_document_get_project_release_with_ecc_spreadsheet/http-response.adoc[] + +[[resources-project-get-download-project-clearing-report]] +==== Export Create Project Clearing Report + +A `GET` request is used to export Create Project Clearing Report. + +===== Request parameter +include::{snippets}/should_document_get_export_project_create_clearing_request/request-parameters.adoc[] + +===== Example request +include::{snippets}/should_document_get_export_project_create_clearing_request/curl-request.adoc[] + +===== Example response +include::{snippets}/should_document_get_export_project_create_clearing_request/http-response.adoc[] diff --git a/rest/resource-server/src/main/java/org/eclipse/sw360/rest/resourceserver/report/SW360ReportController.java b/rest/resource-server/src/main/java/org/eclipse/sw360/rest/resourceserver/report/SW360ReportController.java index 91ccee2423..438eaf4a37 100644 --- a/rest/resource-server/src/main/java/org/eclipse/sw360/rest/resourceserver/report/SW360ReportController.java +++ b/rest/resource-server/src/main/java/org/eclipse/sw360/rest/resourceserver/report/SW360ReportController.java @@ -50,6 +50,11 @@ public class SW360ReportController implements RepresentationModelProcessor`"), + parameterWithName("variant").description("The possible values for variants are ``"), + parameterWithName("externalIds").description("The external Ids of the project"), + parameterWithName("module").description("module possible values are ``") + ))); + } + @Test public void should_document_import_cyclonedx() throws Exception { MockMultipartFile file = new MockMultipartFile("file","file=@/sampleBOM.xml".getBytes());