Skip to content

Commit cda8e17

Browse files
authored
Merge pull request #198 from CyberSource/feature/handling-links-field-to-api
fixing unescaped/raw output (preferred for Java types)
2 parents a7f3234 + ac09455 commit cda8e17

File tree

1 file changed

+1
-1
lines changed
  • generator/cybersource-java-template/libraries/okhttp-gson

1 file changed

+1
-1
lines changed

generator/cybersource-java-template/libraries/okhttp-gson/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class {{classname}} {
8282
*/
8383
public okhttp3.Call {{operationId}}Call({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
8484
SdkTracker sdkTracker = new SdkTracker();
85-
Object localVarPostBody = {{#bodyParam}}sdkTracker.insertDeveloperIdTracker({{paramName}}, {{dataType}}.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()){{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
85+
Object localVarPostBody = {{#bodyParam}}sdkTracker.insertDeveloperIdTracker({{paramName}}, {{{dataType}}}.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()){{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
8686
{{^bodyParam}}
8787
if ("{{httpMethod}}".equalsIgnoreCase("POST")) {
8888
{{localVariablePrefix}}localVarPostBody = "{}";

0 commit comments

Comments
 (0)