Package org.zaproxy.clientapi.gen
Class Openapi
java.lang.Object
org.zaproxy.clientapi.gen.deprecated.OpenapiDeprecated
org.zaproxy.clientapi.gen.Openapi
This file was automatically generated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionimportFile
(String file, String target, String contextid, String userid) Imports an OpenAPI definition from a local file.Imports an OpenAPI definition from a URL.Methods inherited from class org.zaproxy.clientapi.gen.deprecated.OpenapiDeprecated
importFile, importFile, importFile, importUrl, importUrl
-
Constructor Details
-
Openapi
-
-
Method Details
-
importFile
public ApiResponse importFile(String file, String target, String contextid, String userid) 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
public ApiResponse importUrl(String url, String hostoverride, String contextid, String userid) 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
-