public class Openapi extends OpenapiDeprecated
Modifier and Type | Method and Description |
---|---|
ApiResponse |
importFile(java.lang.String file,
java.lang.String target,
java.lang.String contextid)
Imports an OpenAPI definition from a local file.
|
ApiResponse |
importUrl(java.lang.String url,
java.lang.String hostoverride,
java.lang.String contextid)
Imports an OpenAPI definition from a URL.
|
importFile, importFile, importUrl
public Openapi(ClientApi api)
public ApiResponse importFile(java.lang.String file, java.lang.String target, java.lang.String contextid) 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, java.lang.String contextid) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException