From 49b2477b8d2b3b0befbb450f2c39eeef0622c5f7 Mon Sep 17 00:00:00 2001 From: avivmu Date: Thu, 21 Mar 2024 18:14:50 +0200 Subject: [PATCH] fix(docs): update parameter type to be consistent across the doc --- docs/src/main/asciidoc/rest-client.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/rest-client.adoc b/docs/src/main/asciidoc/rest-client.adoc index 434d1a03f6322..1ba3d1cf89cca 100644 --- a/docs/src/main/asciidoc/rest-client.adoc +++ b/docs/src/main/asciidoc/rest-client.adoc @@ -162,7 +162,7 @@ import java.util.Set; public interface ExtensionsService { @GET - Set getById(@QueryParam("id") Integer id); + Set getById(@QueryParam("id") String id); @GET Set getByName(@RestQuery String name); <1> @@ -248,7 +248,7 @@ public interface ExtensionsService { @POST @Consumes(MediaType.APPLICATION_FORM_URLENCODED) - Set postId(@FormParam("id") Integer id); + Set postId(@FormParam("id") String id); @POST @Consumes(MediaType.APPLICATION_FORM_URLENCODED)