forked from loafle/openapi-generator-original
Fix issue3635 (#3948)
* fixed Feign template * regenerated Feign example * update java feign petstore sample
This commit is contained in:
committed by
William Cheng
parent
2664c628a3
commit
5f6e53fc60
@@ -77,7 +77,7 @@ public final class EncodingUtils {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
return URLEncoder.encode(parameter.toString(), "UTF-8");
|
||||
return URLEncoder.encode(parameter.toString(), "UTF-8").replaceAll("\\+", "%20");
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
// Should never happen, UTF-8 is always supported
|
||||
throw new RuntimeException(e);
|
||||
|
||||
Reference in New Issue
Block a user