Skip to content

Commit 87365cb

Browse files
committed
fixing doc generation warnings
1 parent 1d8cd8b commit 87365cb

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,6 @@ public class ApiClient {
517517
* <p>
518518
* When lenientDatetimeFormat is enabled, the following ISO 8601 datetime
519519
* formats are supported:
520-
* <p>
521520
* <ul>
522521
* <li>2015-08-16T08:20:05Z</li>
523522
* <li>2015-8-16T8:20:05Z</li>
@@ -1467,7 +1466,7 @@ public class ApiClient {
14671466
* @param method The request method, one of "GET", "HEAD",
14681467
* "OPTIONS", "POST", "PUT", "PATCH" and "DELETE"
14691468
* @param queryParams The query parameters
1470-
* @param body The request body object
1469+
* @param reqBody The request body object
14711470
* @param headerParams The header parameters
14721471
* @param formParams The form parameters
14731472
* @param authNames The authentications to apply

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public class ApiResponse<T> {
1919
/**
2020
* @param statusCode The status code of HTTP response
2121
* @param headers The headers of HTTP response
22+
* @param message The status message of HTTP response
2223
*/
2324
public ApiResponse(int statusCode, Map<String, List<String>> headers, String message) {
2425
this(statusCode, headers, message, null);
@@ -27,7 +28,8 @@ public class ApiResponse<T> {
2728
/**
2829
* @param statusCode The status code of HTTP response
2930
* @param headers The headers of HTTP response
30-
* @param data The object deserialized from response bod
31+
* @param message The status message of HTTP response
32+
* @param data The object deserialized from response body
3133
*/
3234
public ApiResponse(int statusCode, Map<String, List<String>> headers, String message, T data) {
3335
this.statusCode = statusCode;

src/main/java/Invokers/ApiClient.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,6 @@ public Date parseDate(String str) {
517517
* <p>
518518
* When lenientDatetimeFormat is enabled, the following ISO 8601 datetime
519519
* formats are supported:
520-
* <p>
521520
* <ul>
522521
* <li>2015-08-16T08:20:05Z</li>
523522
* <li>2015-8-16T8:20:05Z</li>
@@ -1467,7 +1466,7 @@ public void callAuthenticationHeader(String method, String path, RequestBody req
14671466
* @param method The request method, one of "GET", "HEAD",
14681467
* "OPTIONS", "POST", "PUT", "PATCH" and "DELETE"
14691468
* @param queryParams The query parameters
1470-
* @param body The request body object
1469+
* @param reqBody The request body object
14711470
* @param headerParams The header parameters
14721471
* @param formParams The form parameters
14731472
* @param authNames The authentications to apply

src/main/java/Invokers/ApiResponse.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public class ApiResponse<T> {
3030
/**
3131
* @param statusCode The status code of HTTP response
3232
* @param headers The headers of HTTP response
33+
* @param message The status message of HTTP response
3334
*/
3435
public ApiResponse(int statusCode, Map<String, List<String>> headers, String message) {
3536
this(statusCode, headers, message, null);
@@ -38,7 +39,8 @@ public ApiResponse(int statusCode, Map<String, List<String>> headers, String mes
3839
/**
3940
* @param statusCode The status code of HTTP response
4041
* @param headers The headers of HTTP response
41-
* @param data The object deserialized from response bod
42+
* @param message The status message of HTTP response
43+
* @param data The object deserialized from response body
4244
*/
4345
public ApiResponse(int statusCode, Map<String, List<String>> headers, String message, T data) {
4446
this.statusCode = statusCode;

0 commit comments

Comments
 (0)