Skip to content

Commit b53db21

Browse files
app-services-ciwtrocki
authored andcommitted
chore(all): re-generate OpenAPI client(s)
1 parent e6b0296 commit b53db21

6 files changed

Lines changed: 259 additions & 210 deletions

File tree

packages/kafka-management-sdk/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ Class | Method | HTTP request | Description
115115
*DefaultApi* | [**deleteKafkaById**](docs/DefaultApi.md#deleteKafkaById) | **DELETE** /api/kafkas_mgmt/v1/kafkas/{id} | Deletes a Kafka request by ID
116116
*DefaultApi* | [**getCloudProviderRegions**](docs/DefaultApi.md#getCloudProviderRegions) | **GET** /api/kafkas_mgmt/v1/cloud_providers/{id}/regions | Returns the list of supported regions of the supported cloud provider
117117
*DefaultApi* | [**getCloudProviders**](docs/DefaultApi.md#getCloudProviders) | **GET** /api/kafkas_mgmt/v1/cloud_providers | Returns the list of supported cloud providers
118-
*DefaultApi* | [**getErrorById**](docs/DefaultApi.md#getErrorById) | **GET** /api/kafkas_mgmt/v1/errors/{id} | Returns the error by id
119-
*DefaultApi* | [**getErrors**](docs/DefaultApi.md#getErrors) | **GET** /api/kafkas_mgmt/v1/errors | Returns the list of possible API errors
120118
*DefaultApi* | [**getKafkaById**](docs/DefaultApi.md#getKafkaById) | **GET** /api/kafkas_mgmt/v1/kafkas/{id} | Returns a Kafka request by ID
121119
*DefaultApi* | [**getKafkas**](docs/DefaultApi.md#getKafkas) | **GET** /api/kafkas_mgmt/v1/kafkas | Returns a list of Kafka requests
122120
*DefaultApi* | [**getMetricsByInstantQuery**](docs/DefaultApi.md#getMetricsByInstantQuery) | **GET** /api/kafkas_mgmt/v1/kafkas/{id}/metrics/query | Returns metrics with instant query by Kafka ID
123121
*DefaultApi* | [**getMetricsByRangeQuery**](docs/DefaultApi.md#getMetricsByRangeQuery) | **GET** /api/kafkas_mgmt/v1/kafkas/{id}/metrics/query_range | Returns metrics with timeseries range query by Kafka ID
124122
*DefaultApi* | [**getServiceStatus**](docs/DefaultApi.md#getServiceStatus) | **GET** /api/kafkas_mgmt/v1/status | Returns the status of resources, such as whether maximum service capacity has been reached
125123
*DefaultApi* | [**getVersionMetadata**](docs/DefaultApi.md#getVersionMetadata) | **GET** /api/kafkas_mgmt/v1 | Returns the version metadata
126124
*DefaultApi* | [**updateKafkaById**](docs/DefaultApi.md#updateKafkaById) | **PATCH** /api/kafkas_mgmt/v1/kafkas/{id} | Update a Kafka instance by id
125+
*ErrorsApi* | [**getErrorById**](docs/ErrorsApi.md#getErrorById) | **GET** /api/kafkas_mgmt/v1/errors/{id} | Returns the error by id
126+
*ErrorsApi* | [**getErrors**](docs/ErrorsApi.md#getErrors) | **GET** /api/kafkas_mgmt/v1/errors | Returns the list of possible API errors
127127
*SecurityApi* | [**createServiceAccount**](docs/SecurityApi.md#createServiceAccount) | **POST** /api/kafkas_mgmt/v1/service_accounts | Creates a service account
128128
*SecurityApi* | [**deleteServiceAccountById**](docs/SecurityApi.md#deleteServiceAccountById) | **DELETE** /api/kafkas_mgmt/v1/service_accounts/{id} | Deletes a service account by ID
129129
*SecurityApi* | [**getServiceAccountById**](docs/SecurityApi.md#getServiceAccountById) | **GET** /api/kafkas_mgmt/v1/service_accounts/{id} | Returned service account by ID

packages/kafka-management-sdk/api/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ paths:
4545
$ref: '#/components/schemas/Error'
4646
description: Get error by Id
4747
summary: Returns the error by id
48+
tags:
49+
- errors
4850
x-accepts: application/json
4951
/api/kafkas_mgmt/v1/errors:
5052
get:
@@ -57,6 +59,8 @@ paths:
5759
$ref: '#/components/schemas/ErrorList'
5860
description: List of possible errors
5961
summary: Returns the list of possible API errors
62+
tags:
63+
- errors
6064
x-accepts: application/json
6165
/api/kafkas_mgmt/v1/status:
6266
get:

packages/kafka-management-sdk/docs/DefaultApi.md

Lines changed: 0 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Method | HTTP request | Description
88
[**deleteKafkaById**](DefaultApi.md#deleteKafkaById) | **DELETE** /api/kafkas_mgmt/v1/kafkas/{id} | Deletes a Kafka request by ID
99
[**getCloudProviderRegions**](DefaultApi.md#getCloudProviderRegions) | **GET** /api/kafkas_mgmt/v1/cloud_providers/{id}/regions | Returns the list of supported regions of the supported cloud provider
1010
[**getCloudProviders**](DefaultApi.md#getCloudProviders) | **GET** /api/kafkas_mgmt/v1/cloud_providers | Returns the list of supported cloud providers
11-
[**getErrorById**](DefaultApi.md#getErrorById) | **GET** /api/kafkas_mgmt/v1/errors/{id} | Returns the error by id
12-
[**getErrors**](DefaultApi.md#getErrors) | **GET** /api/kafkas_mgmt/v1/errors | Returns the list of possible API errors
1311
[**getKafkaById**](DefaultApi.md#getKafkaById) | **GET** /api/kafkas_mgmt/v1/kafkas/{id} | Returns a Kafka request by ID
1412
[**getKafkas**](DefaultApi.md#getKafkas) | **GET** /api/kafkas_mgmt/v1/kafkas | Returns a list of Kafka requests
1513
[**getMetricsByInstantQuery**](DefaultApi.md#getMetricsByInstantQuery) | **GET** /api/kafkas_mgmt/v1/kafkas/{id}/metrics/query | Returns metrics with instant query by Kafka ID
@@ -321,130 +319,6 @@ Name | Type | Description | Notes
321319
| **500** | Unexpected error occurred | - |
322320

323321

324-
## getErrorById
325-
326-
> Error getErrorById(id)
327-
328-
Returns the error by id
329-
330-
### Example
331-
332-
```java
333-
// Import classes:
334-
import com.openshift.cloud.api.kas.invoker.ApiClient;
335-
import com.openshift.cloud.api.kas.invoker.ApiException;
336-
import com.openshift.cloud.api.kas.invoker.Configuration;
337-
import com.openshift.cloud.api.kas.invoker.models.*;
338-
import com.openshift.cloud.api.kas.DefaultApi;
339-
340-
public class Example {
341-
public static void main(String[] args) {
342-
ApiClient defaultClient = Configuration.getDefaultApiClient();
343-
defaultClient.setBasePath("https://api.openshift.com");
344-
345-
DefaultApi apiInstance = new DefaultApi(defaultClient);
346-
String id = "id_example"; // String | The ID of record
347-
try {
348-
Error result = apiInstance.getErrorById(id);
349-
System.out.println(result);
350-
} catch (ApiException e) {
351-
System.err.println("Exception when calling DefaultApi#getErrorById");
352-
System.err.println("Status code: " + e.getCode());
353-
System.err.println("Reason: " + e.getResponseBody());
354-
System.err.println("Response headers: " + e.getResponseHeaders());
355-
e.printStackTrace();
356-
}
357-
}
358-
}
359-
```
360-
361-
### Parameters
362-
363-
364-
Name | Type | Description | Notes
365-
------------- | ------------- | ------------- | -------------
366-
**id** | **String**| The ID of record |
367-
368-
### Return type
369-
370-
[**Error**](Error.md)
371-
372-
### Authorization
373-
374-
No authorization required
375-
376-
### HTTP request headers
377-
378-
- **Content-Type**: Not defined
379-
- **Accept**: application/json
380-
381-
382-
### HTTP response details
383-
| Status code | Description | Response headers |
384-
|-------------|-------------|------------------|
385-
| **200** | Get error by Id | - |
386-
387-
388-
## getErrors
389-
390-
> ErrorList getErrors()
391-
392-
Returns the list of possible API errors
393-
394-
### Example
395-
396-
```java
397-
// Import classes:
398-
import com.openshift.cloud.api.kas.invoker.ApiClient;
399-
import com.openshift.cloud.api.kas.invoker.ApiException;
400-
import com.openshift.cloud.api.kas.invoker.Configuration;
401-
import com.openshift.cloud.api.kas.invoker.models.*;
402-
import com.openshift.cloud.api.kas.DefaultApi;
403-
404-
public class Example {
405-
public static void main(String[] args) {
406-
ApiClient defaultClient = Configuration.getDefaultApiClient();
407-
defaultClient.setBasePath("https://api.openshift.com");
408-
409-
DefaultApi apiInstance = new DefaultApi(defaultClient);
410-
try {
411-
ErrorList result = apiInstance.getErrors();
412-
System.out.println(result);
413-
} catch (ApiException e) {
414-
System.err.println("Exception when calling DefaultApi#getErrors");
415-
System.err.println("Status code: " + e.getCode());
416-
System.err.println("Reason: " + e.getResponseBody());
417-
System.err.println("Response headers: " + e.getResponseHeaders());
418-
e.printStackTrace();
419-
}
420-
}
421-
}
422-
```
423-
424-
### Parameters
425-
426-
This endpoint does not need any parameter.
427-
428-
### Return type
429-
430-
[**ErrorList**](ErrorList.md)
431-
432-
### Authorization
433-
434-
No authorization required
435-
436-
### HTTP request headers
437-
438-
- **Content-Type**: Not defined
439-
- **Accept**: application/json
440-
441-
442-
### HTTP response details
443-
| Status code | Description | Response headers |
444-
|-------------|-------------|------------------|
445-
| **200** | List of possible errors | - |
446-
447-
448322
## getKafkaById
449323

450324
> KafkaRequest getKafkaById(id)
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# ErrorsApi
2+
3+
All URIs are relative to *https://api.openshift.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getErrorById**](ErrorsApi.md#getErrorById) | **GET** /api/kafkas_mgmt/v1/errors/{id} | Returns the error by id
8+
[**getErrors**](ErrorsApi.md#getErrors) | **GET** /api/kafkas_mgmt/v1/errors | Returns the list of possible API errors
9+
10+
11+
12+
## getErrorById
13+
14+
> Error getErrorById(id)
15+
16+
Returns the error by id
17+
18+
### Example
19+
20+
```java
21+
// Import classes:
22+
import com.openshift.cloud.api.kas.invoker.ApiClient;
23+
import com.openshift.cloud.api.kas.invoker.ApiException;
24+
import com.openshift.cloud.api.kas.invoker.Configuration;
25+
import com.openshift.cloud.api.kas.invoker.models.*;
26+
import com.openshift.cloud.api.kas.ErrorsApi;
27+
28+
public class Example {
29+
public static void main(String[] args) {
30+
ApiClient defaultClient = Configuration.getDefaultApiClient();
31+
defaultClient.setBasePath("https://api.openshift.com");
32+
33+
ErrorsApi apiInstance = new ErrorsApi(defaultClient);
34+
String id = "id_example"; // String | The ID of record
35+
try {
36+
Error result = apiInstance.getErrorById(id);
37+
System.out.println(result);
38+
} catch (ApiException e) {
39+
System.err.println("Exception when calling ErrorsApi#getErrorById");
40+
System.err.println("Status code: " + e.getCode());
41+
System.err.println("Reason: " + e.getResponseBody());
42+
System.err.println("Response headers: " + e.getResponseHeaders());
43+
e.printStackTrace();
44+
}
45+
}
46+
}
47+
```
48+
49+
### Parameters
50+
51+
52+
Name | Type | Description | Notes
53+
------------- | ------------- | ------------- | -------------
54+
**id** | **String**| The ID of record |
55+
56+
### Return type
57+
58+
[**Error**](Error.md)
59+
60+
### Authorization
61+
62+
No authorization required
63+
64+
### HTTP request headers
65+
66+
- **Content-Type**: Not defined
67+
- **Accept**: application/json
68+
69+
70+
### HTTP response details
71+
| Status code | Description | Response headers |
72+
|-------------|-------------|------------------|
73+
| **200** | Get error by Id | - |
74+
75+
76+
## getErrors
77+
78+
> ErrorList getErrors()
79+
80+
Returns the list of possible API errors
81+
82+
### Example
83+
84+
```java
85+
// Import classes:
86+
import com.openshift.cloud.api.kas.invoker.ApiClient;
87+
import com.openshift.cloud.api.kas.invoker.ApiException;
88+
import com.openshift.cloud.api.kas.invoker.Configuration;
89+
import com.openshift.cloud.api.kas.invoker.models.*;
90+
import com.openshift.cloud.api.kas.ErrorsApi;
91+
92+
public class Example {
93+
public static void main(String[] args) {
94+
ApiClient defaultClient = Configuration.getDefaultApiClient();
95+
defaultClient.setBasePath("https://api.openshift.com");
96+
97+
ErrorsApi apiInstance = new ErrorsApi(defaultClient);
98+
try {
99+
ErrorList result = apiInstance.getErrors();
100+
System.out.println(result);
101+
} catch (ApiException e) {
102+
System.err.println("Exception when calling ErrorsApi#getErrors");
103+
System.err.println("Status code: " + e.getCode());
104+
System.err.println("Reason: " + e.getResponseBody());
105+
System.err.println("Response headers: " + e.getResponseHeaders());
106+
e.printStackTrace();
107+
}
108+
}
109+
}
110+
```
111+
112+
### Parameters
113+
114+
This endpoint does not need any parameter.
115+
116+
### Return type
117+
118+
[**ErrorList**](ErrorList.md)
119+
120+
### Authorization
121+
122+
No authorization required
123+
124+
### HTTP request headers
125+
126+
- **Content-Type**: Not defined
127+
- **Accept**: application/json
128+
129+
130+
### HTTP response details
131+
| Status code | Description | Response headers |
132+
|-------------|-------------|------------------|
133+
| **200** | List of possible errors | - |
134+

0 commit comments

Comments
 (0)