Class OpenapiDeprecated
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.OpenapiDeprecated
-
- Direct Known Subclasses:
Openapi
public class OpenapiDeprecated extends java.lang.Object
API implementation with deprecated methods, (re)moved from generated class.
-
-
Constructor Summary
Constructors Constructor Description OpenapiDeprecated(ClientApi api)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiResponse
importFile(java.lang.String file)
Imports an Open API definition from a local file.ApiResponse
importFile(java.lang.String file, java.lang.String target)
Imports an OpenAPI definition from a local file.ApiResponse
importUrl(java.lang.String url, java.lang.String hostoverride)
Imports an OpenAPI definition from a URL.
-
-
-
Constructor Detail
-
OpenapiDeprecated
public OpenapiDeprecated(ClientApi api)
-
-
Method Detail
-
importFile
public ApiResponse importFile(java.lang.String file) throws ClientApiException
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
public ApiResponse importFile(java.lang.String file, java.lang.String target) 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(java.lang.String url, java.lang.String hostoverride) 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
-
-