mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 21:27:08 +00:00
java-client: fix some javadoc comments (#21932)
* java-client: fix some javadoc comments * update samples
This commit is contained in:
@@ -232,8 +232,8 @@ public class ApiClient {
|
||||
/**
|
||||
* Set base path
|
||||
*
|
||||
* @param basePath Base path of the URL (e.g http://petstore.swagger.io/v2
|
||||
* @return An instance of OkHttpClient
|
||||
* @param basePath Base path of the URL (e.g http://petstore.swagger.io/v2)
|
||||
* @return An instance of ApiClient
|
||||
*/
|
||||
public ApiClient setBasePath(String basePath) {
|
||||
this.basePath = basePath;
|
||||
@@ -281,7 +281,7 @@ public class ApiClient {
|
||||
* Set HTTP client, which must never be null.
|
||||
*
|
||||
* @param newHttpClient An instance of OkHttpClient
|
||||
* @return Api Client
|
||||
* @return ApiClient
|
||||
* @throws java.lang.NullPointerException when newHttpClient is null
|
||||
*/
|
||||
public ApiClient setHttpClient(OkHttpClient newHttpClient) {
|
||||
|
||||
Reference in New Issue
Block a user