From 0ae4e546c21def39842a7de6df3eba410e8d00e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Siret?= Date: Mon, 28 May 2018 12:11:14 -0400 Subject: [PATCH] Query Params generates a Path annotation Before this commit, the generator create a @retrofit2.http.Path for a query parameter. This path replace the @retrofit2.http.Query by a @retrofit2.http.Path --- .../resources/v2/Java/libraries/retrofit2/queryParams.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/v2/Java/libraries/retrofit2/queryParams.mustache b/src/main/resources/v2/Java/libraries/retrofit2/queryParams.mustache index 17054b2566..e0dff7f9ef 100644 --- a/src/main/resources/v2/Java/libraries/retrofit2/queryParams.mustache +++ b/src/main/resources/v2/Java/libraries/retrofit2/queryParams.mustache @@ -1 +1 @@ -{{#is this 'query-param'}}@retrofit2.http.Path("{{baseName}}") {{{dataType}}} {{paramName}}{{/is}} \ No newline at end of file +{{#is this 'query-param'}}@retrofit2.http.Query("{{baseName}}") {{{dataType}}} {{paramName}}{{/is}}