Update src/main/java/org/gcube/data/access/storagehub/services/ItemsCreator.java

changed param name from stream to file in method createFileItem to fix the docs
This commit is contained in:
Massimiliano Assante 2024-11-12 15:18:28 +01:00
parent 6850309b27
commit 2e5ffc2d5f
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ public class ItemsCreator extends Impersonable{
@Path("/{id}/create/FILE") @Path("/{id}/create/FILE")
public String createFileItem(@PathParam("id") String id, @FormDataParam("name") String name, public String createFileItem(@PathParam("id") String id, @FormDataParam("name") String name,
@FormDataParam("description") String description, @FormDataParam("description") String description,
@FormDataParam("file") InputStream stream, @FormDataParam("file") InputStream file,
@FormDataParam("file") FormDataContentDisposition fileDetail){ @FormDataParam("file") FormDataContentDisposition fileDetail){
InnerMethodName.set("createItem(FILE)"); InnerMethodName.set("createItem(FILE)");