Skip to content

Commit c1eabfe

Browse files
committed
fix: fixed javadoc missmatch via mustache templating
Signed-off-by: Berke Akkaya <berke.akkaya@bearingpoint.com>
1 parent 7a29dfb commit c1eabfe

4 files changed

Lines changed: 6 additions & 1 deletion

File tree

api/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ SPDX-License-Identifier: Apache-2.0
5757
<inputSpec>${project.basedir}/plugins-custom-resources.yaml</inputSpec>
5858
<generatorName>jaxrs-spec</generatorName>
5959
<output>${project.basedir}</output>
60+
<templateDirectory>${project.basedir}/src/main/resources/templates</templateDirectory>
6061
<generateSupportingFiles>false</generateSupportingFiles>
6162

6263
<configOptions>

api/src/main/java/org/lfenergy/compas/scl/data/rest/PluginsCustomResourcesApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ public interface PluginsCustomResourcesApi {
8181
@POST
8282
@Consumes({ "multipart/form-data" })
8383
@Produces({ "application/json" })
84-
UploadDataResponse uploadData(@FormParam(value = "type") String type,@FormParam(value = "name") String name,@FormParam(value = "content-type") String contentType, @FormParam(value = "content") InputStream contentInputStream,@FormParam(value = "data-compatibility-version") String dataCompatibilityVersion,@FormParam(value = "description") String description,@FormParam(value = "version") String version,@FormParam(value = "nextVersionType") String nextVersionType);
84+
UploadDataResponse uploadData(@FormParam(value = "type") String type,@FormParam(value = "name") String name,@FormParam(value = "content-type") String contentType, @FormParam(value = "content") InputStream content,@FormParam(value = "data-compatibility-version") String dataCompatibilityVersion,@FormParam(value = "description") String description,@FormParam(value = "version") String version,@FormParam(value = "nextVersionType") String nextVersionType);
8585

8686
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{#isFormParam}}{{^isFile}}@FormParam(value = "{{baseName}}") {{{dataType}}} {{paramName}}{{/isFile}}{{#isFile}} @FormParam(value = "{{baseName}}") InputStream {{paramName}}{{/isFile}}{{/isFormParam}}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2026 BearingPoint GmbH
2+
3+
SPDX-License-Identifier: Apache-2.0

0 commit comments

Comments
 (0)