forked from loafle/openapi-generator-original
Fix JavaDoc errors in ApiClient for resttemplate (#2515)
This commit is contained in:
parent
41b5d0e8fc
commit
6e7c621629
@ -342,6 +342,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 {
|
||||
@ -353,6 +355,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);
|
||||
@ -386,7 +390,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) {
|
||||
|
@ -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) {
|
||||
|
@ -326,6 +326,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 {
|
||||
@ -337,6 +339,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);
|
||||
@ -370,7 +374,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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user