mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-18 20:07:07 +00:00
* added getter for schema
This commit is contained in:
committed by
Esteban Gehring
parent
96dd31a462
commit
73eae09738
@@ -263,6 +263,17 @@ public class ApiClient {
|
||||
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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user