forked from loafle/openapi-generator-original
- fix source/target java version to 1.6
- add test profile for CI
This commit is contained in:
+1
-1
@@ -330,7 +330,7 @@ class GsonCustomConverterFactory extends Converter.Factory
|
||||
@Override
|
||||
public Converter<ResponseBody, ?> fromResponseBody(Type type, Annotation[] annotations) {
|
||||
if(type.equals(String.class))
|
||||
return new GsonResponseBodyConverterToString<>(gson, type);
|
||||
return new GsonResponseBodyConverterToString<Object>(gson, type);
|
||||
else
|
||||
return gsonConverterFactory.fromResponseBody(type, annotations);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user