Class OpenapiDeprecated
java.lang.Object
org.zaproxy.clientapi.gen.deprecated.OpenapiDeprecated
- Direct Known Subclasses:
Openapi
API implementation with deprecated methods, (re)moved from generated class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionimportFile(String file) Imports an Open API definition from a local file.importFile(String file, String target) Imports an OpenAPI definition from a local file.importFile(String file, String target, String contextid) Imports an OpenAPI definition from a local file.Imports an OpenAPI definition from a URL.Imports an OpenAPI definition from a URL.
-
Constructor Details
-
OpenapiDeprecated
-
-
Method Details
-
importFile
Imports an Open API definition from a local file.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
importFile
Imports an OpenAPI definition from a local file.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
importFile
public ApiResponse importFile(String file, String target, String contextid) throws ClientApiException Imports an OpenAPI definition from a local file.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
importUrl
Imports an OpenAPI definition from a URL.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
importUrl
public ApiResponse importUrl(String url, String hostoverride, String contextid) throws ClientApiException Imports an OpenAPI definition from a URL.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-