From 89b4d9b4e95cf0c419e64979689bc0fc69ef7fa3 Mon Sep 17 00:00:00 2001 From: Shyri Villar Date: Wed, 11 Nov 2015 22:46:58 +0100 Subject: [PATCH] fixed requests packages and imports [android-volley] --- .../src/main/resources/android-volley/getrequest.mustache | 2 +- .../src/main/resources/android-volley/postrequest.mustache | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/swagger-codegen/src/main/resources/android-volley/getrequest.mustache b/modules/swagger-codegen/src/main/resources/android-volley/getrequest.mustache index ec5907e6f5..63803c3b48 100644 --- a/modules/swagger-codegen/src/main/resources/android-volley/getrequest.mustache +++ b/modules/swagger-codegen/src/main/resources/android-volley/getrequest.mustache @@ -1,4 +1,4 @@ -package {{invokerPackage}}; +package {{invokerPackage}}.request; import com.android.volley.AuthFailureError; import com.android.volley.Response; diff --git a/modules/swagger-codegen/src/main/resources/android-volley/postrequest.mustache b/modules/swagger-codegen/src/main/resources/android-volley/postrequest.mustache index 80b2c4e8cd..2c61a0fa3d 100644 --- a/modules/swagger-codegen/src/main/resources/android-volley/postrequest.mustache +++ b/modules/swagger-codegen/src/main/resources/android-volley/postrequest.mustache @@ -1,10 +1,11 @@ -package {{invokerPackage}}; +package {{invokerPackage}}.request; import com.android.volley.AuthFailureError; import com.android.volley.NetworkResponse; import com.android.volley.Request; import com.android.volley.Response; import com.android.volley.VolleyLog; +import com.android.volley.toolbox.HttpHeaderParser; import org.apache.http.HttpEntity;