Skip to content

Commit 884f2c1

Browse files
chore(all): re-generate OpenAPI client(s) (#296)
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
1 parent 02f39b5 commit 884f2c1

33 files changed

Lines changed: 338 additions & 4362 deletions

packages/service-accounts-sdk/README.md

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Service Accounts API Documentation
44

5-
- API version: 1.0
5+
- API version: 5.0.19
66

77
This is the API documentation for Service Accounts
88

@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
4040
<dependency>
4141
<groupId>com.redhat.cloud</groupId>
4242
<artifactId>service-accounts-sdk</artifactId>
43-
<version>1.0</version>
43+
<version>5.0.19</version>
4444
<scope>compile</scope>
4545
</dependency>
4646
```
@@ -56,7 +56,7 @@ Add this dependency to your project's build file:
5656
}
5757
5858
dependencies {
59-
implementation "com.redhat.cloud:service-accounts-sdk:1.0"
59+
implementation "com.redhat.cloud:service-accounts-sdk:5.0.19"
6060
}
6161
```
6262

@@ -70,7 +70,7 @@ mvn clean package
7070

7171
Then manually install the following JARs:
7272

73-
- `target/service-accounts-sdk-1.0.jar`
73+
- `target/service-accounts-sdk-5.0.19.jar`
7474
- `target/lib/*.jar`
7575

7676
## Getting Started
@@ -88,7 +88,7 @@ public class ServiceAccountsApiExample {
8888

8989
public static void main(String[] args) {
9090
ApiClient defaultClient = Configuration.getDefaultApiClient();
91-
defaultClient.setBasePath("http://localhost");
91+
defaultClient.setBasePath("https://sso.redhat.com/auth/realms/redhat-external");
9292

9393
// Configure HTTP bearer authorization: bearerAuth
9494
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
@@ -113,33 +113,21 @@ public class ServiceAccountsApiExample {
113113

114114
## Documentation for API Endpoints
115115

116-
All URIs are relative to *http://localhost*
116+
All URIs are relative to *https://sso.redhat.com/auth/realms/redhat-external*
117117

118118
Class | Method | HTTP request | Description
119119
------------ | ------------- | ------------- | -------------
120120
*ServiceAccountsApi* | [**createServiceAccount**](docs/ServiceAccountsApi.md#createServiceAccount) | **POST** /apis/service_accounts/v1 | Create service account
121121
*ServiceAccountsApi* | [**deleteServiceAccount**](docs/ServiceAccountsApi.md#deleteServiceAccount) | **DELETE** /apis/service_accounts/v1/{id} | Delete service account by id
122+
*ServiceAccountsApi* | [**getServiceAccount**](docs/ServiceAccountsApi.md#getServiceAccount) | **GET** /apis/service_accounts/v1/{id} | Get service account by id
122123
*ServiceAccountsApi* | [**getServiceAccounts**](docs/ServiceAccountsApi.md#getServiceAccounts) | **GET** /apis/service_accounts/v1 | List all service accounts
124+
*ServiceAccountsApi* | [**resetServiceAccountSecret**](docs/ServiceAccountsApi.md#resetServiceAccountSecret) | **POST** /apis/service_accounts/v1/{id}/resetSecret | Reset service account secret by id
123125
*ServiceAccountsApi* | [**updateServiceAccount**](docs/ServiceAccountsApi.md#updateServiceAccount) | **PATCH** /apis/service_accounts/v1/{id} | Update service account
124-
*ServiceaccountsApi* | [**getServiceAccount**](docs/ServiceaccountsApi.md#getServiceAccount) | **GET** /apis/service_accounts/v1/{id} | Get service account by id
125-
*ServiceaccountsApi* | [**resetServiceAccountSecret**](docs/ServiceaccountsApi.md#resetServiceAccountSecret) | **POST** /apis/service_accounts/v1/{id}/resetSecret | Reset service account secret by id
126126

127127

128128
## Documentation for Models
129129

130130
- [Error](docs/Error.md)
131-
- [InlineResponse400](docs/InlineResponse400.md)
132-
- [InlineResponse400Cause](docs/InlineResponse400Cause.md)
133-
- [InlineResponse400CauseStackTrace](docs/InlineResponse400CauseStackTrace.md)
134-
- [InlineResponse400CauseSuppressed](docs/InlineResponse400CauseSuppressed.md)
135-
- [InlineResponse400Response](docs/InlineResponse400Response.md)
136-
- [InlineResponse400ResponseCookies](docs/InlineResponse400ResponseCookies.md)
137-
- [InlineResponse400ResponseEntityTag](docs/InlineResponse400ResponseEntityTag.md)
138-
- [InlineResponse400ResponseLanguage](docs/InlineResponse400ResponseLanguage.md)
139-
- [InlineResponse400ResponseLinks](docs/InlineResponse400ResponseLinks.md)
140-
- [InlineResponse400ResponseMediaType](docs/InlineResponse400ResponseMediaType.md)
141-
- [InlineResponse400ResponseStatusInfo](docs/InlineResponse400ResponseStatusInfo.md)
142-
- [InlineResponse401](docs/InlineResponse401.md)
143131
- [ServiceAccountCreateRequestData](docs/ServiceAccountCreateRequestData.md)
144132
- [ServiceAccountData](docs/ServiceAccountData.md)
145133
- [ServiceAccountRequestData](docs/ServiceAccountRequestData.md)
@@ -160,5 +148,5 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea
160148

161149
## Author
162150

163-
151+
it-user-team-list@redhat.com
164152

0 commit comments

Comments
 (0)