mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-07 04:36:07 +00:00
Fix JavaDoc errors in ApiClient for resttemplate (#2515)
This commit is contained in:
committed by
William Cheng
parent
41b5d0e8fc
commit
6e7c621629
@@ -331,6 +331,8 @@ public class ApiClient {
|
||||
|
||||
/**
|
||||
* Parse the given string into Date object.
|
||||
* @param str the string to parse
|
||||
* @return the Date parsed from the string
|
||||
*/
|
||||
public Date parseDate(String str) {
|
||||
try {
|
||||
@@ -342,6 +344,8 @@ public class ApiClient {
|
||||
|
||||
/**
|
||||
* Format the given Date object into string.
|
||||
* @param date the date to format
|
||||
* @return the formatted date as string
|
||||
*/
|
||||
public String formatDate(Date date) {
|
||||
return dateFormat.format(date);
|
||||
@@ -375,7 +379,7 @@ public class ApiClient {
|
||||
* Formats the specified collection path parameter to a string value.
|
||||
*
|
||||
* @param collectionFormat The collection format of the parameter.
|
||||
* @param value The value of the parameter.
|
||||
* @param values The values of the parameter.
|
||||
* @return String representation of the parameter
|
||||
*/
|
||||
public String collectionPathParameterToString(CollectionFormat collectionFormat, Collection<? extends CharSequence> values) {
|
||||
|
||||
Reference in New Issue
Block a user