Class OpenapiApi
java.lang.Object
dev.restate.admin.api.OpenapiApi
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondownloadFileFromResponse(HttpResponse<InputStream> response, InputStream responseBody) Deprecated.Download file from the given response.protected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response) Deprecated.Deprecated.OpenAPI specificationopenapiSpec(Map<String, String> headers) Deprecated.OpenAPI specificationDeprecated.OpenAPI specificationopenapiSpecWithHttpInfo(Map<String, String> headers) Deprecated.OpenAPI specification
-
Constructor Details
-
OpenapiApi
public OpenapiApi()Deprecated. -
OpenapiApi
Deprecated.
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException Deprecated.- Throws:
IOException
-
downloadFileFromResponse
public File downloadFileFromResponse(HttpResponse<InputStream> response, InputStream responseBody) throws ApiException Deprecated.Download file from the given response.- Parameters:
response- Response- Returns:
- File
- Throws:
ApiException- If fail to read file content from response and write to disk
-
openapiSpec
Deprecated.OpenAPI specification- Returns:
- Map<String, String>
- Throws:
ApiException- if fails to make API call- See Also:
-
openapiSpec
Deprecated.OpenAPI specification- Parameters:
headers- Optional headers to include in the request- Returns:
- Map<String, String>
- Throws:
ApiException- if fails to make API call- See Also:
-
openapiSpecWithHttpInfo
Deprecated.OpenAPI specification- Returns:
- ApiResponse<Map<String, String>>
- Throws:
ApiException- if fails to make API call- See Also:
-
openapiSpecWithHttpInfo
public ApiResponse<Map<String,String>> openapiSpecWithHttpInfo(Map<String, String> headers) throws ApiExceptionDeprecated.OpenAPI specification- Parameters:
headers- Optional headers to include in the request- Returns:
- ApiResponse<Map<String, String>>
- Throws:
ApiException- if fails to make API call- See Also:
-