public class Openapi
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ApiResponse |
importFile(java.lang.String file)
Import an Open API definition from a local file.
|
ApiResponse |
importUrl(java.lang.String url,
java.lang.String hostoverride)
Import an Open API definition from a URL, hostOverride allows the host to be replaced
|
public Openapi(ClientApi api)
public ApiResponse importFile(java.lang.String file) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse importUrl(java.lang.String url, java.lang.String hostoverride) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException