mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 01:57:05 +00:00
* added getter for schema
This commit is contained in:
committed by
Esteban Gehring
parent
96dd31a462
commit
73eae09738
@@ -252,6 +252,17 @@ public class ApiClient {
|
|||||||
return scheme + "://" + host + (port == -1 ? "" : ":" + port) + basePath;
|
return scheme + "://" + host + (port == -1 ? "" : ":" + port) + basePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set a custom scheme for the target service, for example 'https'.
|
||||||
|
*
|
||||||
|
* @param scheme The scheme of the target service
|
||||||
|
* @return This object.
|
||||||
|
*/
|
||||||
|
public ApiClient setScheme(String scheme){
|
||||||
|
this.scheme = scheme;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a custom request interceptor.
|
* Set a custom request interceptor.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -263,6 +263,17 @@ public class ApiClient {
|
|||||||
return scheme + "://" + host + (port == -1 ? "" : ":" + port) + basePath;
|
return scheme + "://" + host + (port == -1 ? "" : ":" + port) + basePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set a custom scheme for the target service, for example 'https'.
|
||||||
|
*
|
||||||
|
* @param scheme The scheme of the target service
|
||||||
|
* @return This object.
|
||||||
|
*/
|
||||||
|
public ApiClient setScheme(String scheme){
|
||||||
|
this.scheme = scheme;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a custom request interceptor.
|
* Set a custom request interceptor.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user