Skip to content

Commit

Permalink
chore: regenerate OpenAPI client v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jul 8, 2024
1 parent 71d0375 commit a8b55ab
Show file tree
Hide file tree
Showing 1,017 changed files with 60,408 additions and 44,900 deletions.
2 changes: 1 addition & 1 deletion clients/hydra/dart/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.6.0
7.7.0
9 changes: 5 additions & 4 deletions clients/hydra/dart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Documentation for all of Ory Hydra's APIs.

This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: v2.2.0
- API version: v2.2.1
- Generator version: 7.7.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen

## Requirements
Expand All @@ -18,7 +19,7 @@ This Dart package is automatically generated by the [OpenAPI Generator](https://
To use the package from [pub.dev](https://pub.dev), please include the following in pubspec.yaml
```yaml
dependencies:
ory_hydra_client: 2.2.0
ory_hydra_client: 2.2.1
```
### Github
Expand Down Expand Up @@ -54,7 +55,7 @@ final CreateJsonWebKeySet createJsonWebKeySet = ; // CreateJsonWebKeySet |
try {
final response = await api.createJsonWebKeySet(set_, createJsonWebKeySet);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print("Exception when calling JwkApi->createJsonWebKeySet: $e\n");
}

Expand Down Expand Up @@ -173,7 +174,7 @@ Authentication schemes defined for the API:

### bearer

- **Type**: HTTP basic authentication
- **Type**: HTTP Bearer Token authentication

### oauth2

Expand Down
4 changes: 1 addition & 3 deletions clients/hydra/dart/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ analyzer:
language:
strict-inference: true
strict-raw-types: true
strong-mode:
implicit-dynamic: false
implicit-casts: false
strict-casts: false
exclude:
- test/*.dart
errors:
Expand Down
14 changes: 7 additions & 7 deletions clients/hydra/dart/doc/JwkApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ final CreateJsonWebKeySet createJsonWebKeySet = ; // CreateJsonWebKeySet |
try {
final response = api.createJsonWebKeySet(set_, createJsonWebKeySet);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling JwkApi->createJsonWebKeySet: $e\n');
}
```
Expand Down Expand Up @@ -80,7 +80,7 @@ final String kid = kid_example; // String | The JSON Web Key ID (kid)
try {
api.deleteJsonWebKey(set_, kid);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling JwkApi->deleteJsonWebKey: $e\n');
}
```
Expand Down Expand Up @@ -123,7 +123,7 @@ final String set_ = set__example; // String | The JSON Web Key Set
try {
api.deleteJsonWebKeySet(set_);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling JwkApi->deleteJsonWebKeySet: $e\n');
}
```
Expand Down Expand Up @@ -167,7 +167,7 @@ final String kid = kid_example; // String | JSON Web Key ID
try {
final response = api.getJsonWebKey(set_, kid);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling JwkApi->getJsonWebKey: $e\n');
}
```
Expand Down Expand Up @@ -211,7 +211,7 @@ final String set_ = set__example; // String | JSON Web Key Set ID
try {
final response = api.getJsonWebKeySet(set_);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling JwkApi->getJsonWebKeySet: $e\n');
}
```
Expand Down Expand Up @@ -256,7 +256,7 @@ final JsonWebKey jsonWebKey = ; // JsonWebKey |
try {
final response = api.setJsonWebKey(set_, kid, jsonWebKey);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling JwkApi->setJsonWebKey: $e\n');
}
```
Expand Down Expand Up @@ -302,7 +302,7 @@ final JsonWebKeySet jsonWebKeySet = ; // JsonWebKeySet |
try {
final response = api.setJsonWebKeySet(set_, jsonWebKeySet);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling JwkApi->setJsonWebKeySet: $e\n');
}
```
Expand Down
6 changes: 3 additions & 3 deletions clients/hydra/dart/doc/MetadataApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final api = OryHydraClient().getMetadataApi();
try {
final response = api.getVersion();
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling MetadataApi->getVersion: $e\n');
}
```
Expand Down Expand Up @@ -69,7 +69,7 @@ final api = OryHydraClient().getMetadataApi();
try {
final response = api.isAlive();
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling MetadataApi->isAlive: $e\n');
}
```
Expand Down Expand Up @@ -108,7 +108,7 @@ final api = OryHydraClient().getMetadataApi();
try {
final response = api.isReady();
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling MetadataApi->isReady: $e\n');
}
```
Expand Down
56 changes: 28 additions & 28 deletions clients/hydra/dart/doc/OAuth2Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ final AcceptOAuth2ConsentRequest acceptOAuth2ConsentRequest = ; // AcceptOAuth2C
try {
final response = api.acceptOAuth2ConsentRequest(consentChallenge, acceptOAuth2ConsentRequest);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->acceptOAuth2ConsentRequest: $e\n');
}
```
Expand Down Expand Up @@ -102,7 +102,7 @@ final AcceptOAuth2LoginRequest acceptOAuth2LoginRequest = ; // AcceptOAuth2Login
try {
final response = api.acceptOAuth2LoginRequest(loginChallenge, acceptOAuth2LoginRequest);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->acceptOAuth2LoginRequest: $e\n');
}
```
Expand Down Expand Up @@ -146,7 +146,7 @@ final String logoutChallenge = logoutChallenge_example; // String | OAuth 2.0 Lo
try {
final response = api.acceptOAuth2LogoutRequest(logoutChallenge);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->acceptOAuth2LogoutRequest: $e\n');
}
```
Expand Down Expand Up @@ -189,7 +189,7 @@ final OAuth2Client oAuth2Client = ; // OAuth2Client | OAuth 2.0 Client Request B
try {
final response = api.createOAuth2Client(oAuth2Client);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->createOAuth2Client: $e\n');
}
```
Expand Down Expand Up @@ -231,7 +231,7 @@ final String id = id_example; // String | The id of the OAuth 2.0 Client.
try {
api.deleteOAuth2Client(id);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->deleteOAuth2Client: $e\n');
}
```
Expand Down Expand Up @@ -273,7 +273,7 @@ final String clientId = clientId_example; // String | OAuth 2.0 Client ID
try {
api.deleteOAuth2Token(clientId);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->deleteOAuth2Token: $e\n');
}
```
Expand Down Expand Up @@ -315,7 +315,7 @@ final String id = id_example; // String | The id of the desired grant
try {
api.deleteTrustedOAuth2JwtGrantIssuer(id);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->deleteTrustedOAuth2JwtGrantIssuer: $e\n');
}
```
Expand Down Expand Up @@ -358,7 +358,7 @@ final String id = id_example; // String | The id of the OAuth 2.0 Client.
try {
final response = api.getOAuth2Client(id);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->getOAuth2Client: $e\n');
}
```
Expand Down Expand Up @@ -401,7 +401,7 @@ final String consentChallenge = consentChallenge_example; // String | OAuth 2.0
try {
final response = api.getOAuth2ConsentRequest(consentChallenge);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->getOAuth2ConsentRequest: $e\n');
}
```
Expand Down Expand Up @@ -444,7 +444,7 @@ final String loginChallenge = loginChallenge_example; // String | OAuth 2.0 Logi
try {
final response = api.getOAuth2LoginRequest(loginChallenge);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->getOAuth2LoginRequest: $e\n');
}
```
Expand Down Expand Up @@ -487,7 +487,7 @@ final String logoutChallenge = logoutChallenge_example; // String |
try {
final response = api.getOAuth2LogoutRequest(logoutChallenge);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->getOAuth2LogoutRequest: $e\n');
}
```
Expand Down Expand Up @@ -530,7 +530,7 @@ final String id = id_example; // String | The id of the desired grant
try {
final response = api.getTrustedOAuth2JwtGrantIssuer(id);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->getTrustedOAuth2JwtGrantIssuer: $e\n');
}
```
Expand Down Expand Up @@ -574,7 +574,7 @@ final String scope = scope_example; // String | An optional, space separated lis
try {
final response = api.introspectOAuth2Token(token, scope);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->introspectOAuth2Token: $e\n');
}
```
Expand Down Expand Up @@ -621,7 +621,7 @@ final String owner = owner_example; // String | The owner of the clients to filt
try {
final response = api.listOAuth2Clients(pageSize, pageToken, clientName, owner);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->listOAuth2Clients: $e\n');
}
```
Expand Down Expand Up @@ -670,7 +670,7 @@ final String loginSessionId = loginSessionId_example; // String | The login sess
try {
final response = api.listOAuth2ConsentSessions(subject, pageSize, pageToken, loginSessionId);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->listOAuth2ConsentSessions: $e\n');
}
```
Expand Down Expand Up @@ -718,7 +718,7 @@ final String issuer = issuer_example; // String | If optional \"issuer\" is supp
try {
final response = api.listTrustedOAuth2JwtGrantIssuers(maxItems, defaultItems, issuer);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->listTrustedOAuth2JwtGrantIssuers: $e\n');
}
```
Expand Down Expand Up @@ -762,7 +762,7 @@ final api = OryHydraClient().getOAuth2Api();
try {
final response = api.oAuth2Authorize();
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->oAuth2Authorize: $e\n');
}
```
Expand Down Expand Up @@ -811,7 +811,7 @@ final String refreshToken = refreshToken_example; // String |
try {
final response = api.oauth2TokenExchange(grantType, clientId, code, redirectUri, refreshToken);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->oauth2TokenExchange: $e\n');
}
```
Expand Down Expand Up @@ -859,7 +859,7 @@ final BuiltList<JsonPatch> jsonPatch = ; // BuiltList<JsonPatch> | OAuth 2.0 Cli
try {
final response = api.patchOAuth2Client(id, jsonPatch);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->patchOAuth2Client: $e\n');
}
```
Expand Down Expand Up @@ -904,7 +904,7 @@ final RejectOAuth2Request rejectOAuth2Request = ; // RejectOAuth2Request |
try {
final response = api.rejectOAuth2ConsentRequest(consentChallenge, rejectOAuth2Request);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->rejectOAuth2ConsentRequest: $e\n');
}
```
Expand Down Expand Up @@ -949,7 +949,7 @@ final RejectOAuth2Request rejectOAuth2Request = ; // RejectOAuth2Request |
try {
final response = api.rejectOAuth2LoginRequest(loginChallenge, rejectOAuth2Request);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->rejectOAuth2LoginRequest: $e\n');
}
```
Expand Down Expand Up @@ -992,7 +992,7 @@ final String logoutChallenge = logoutChallenge_example; // String |
try {
api.rejectOAuth2LogoutRequest(logoutChallenge);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->rejectOAuth2LogoutRequest: $e\n');
}
```
Expand Down Expand Up @@ -1036,7 +1036,7 @@ final bool all = true; // bool | Revoke All Consent Sessions If set to `true` d
try {
api.revokeOAuth2ConsentSessions(subject, client, all);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->revokeOAuth2ConsentSessions: $e\n');
}
```
Expand Down Expand Up @@ -1081,7 +1081,7 @@ final String sid = sid_example; // String | OAuth 2.0 Subject The subject to re
try {
api.revokeOAuth2LoginSessions(subject, sid);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->revokeOAuth2LoginSessions: $e\n');
}
```
Expand Down Expand Up @@ -1131,7 +1131,7 @@ final String clientSecret = clientSecret_example; // String |
try {
api.revokeOAuth2Token(token, clientId, clientSecret);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->revokeOAuth2Token: $e\n');
}
```
Expand Down Expand Up @@ -1177,7 +1177,7 @@ final OAuth2Client oAuth2Client = ; // OAuth2Client | OAuth 2.0 Client Request B
try {
final response = api.setOAuth2Client(id, oAuth2Client);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->setOAuth2Client: $e\n');
}
```
Expand Down Expand Up @@ -1222,7 +1222,7 @@ final OAuth2ClientTokenLifespans oAuth2ClientTokenLifespans = ; // OAuth2ClientT
try {
final response = api.setOAuth2ClientLifespans(id, oAuth2ClientTokenLifespans);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->setOAuth2ClientLifespans: $e\n');
}
```
Expand Down Expand Up @@ -1266,7 +1266,7 @@ final TrustOAuth2JwtGrantIssuer trustOAuth2JwtGrantIssuer = ; // TrustOAuth2JwtG
try {
final response = api.trustOAuth2JwtGrantIssuer(trustOAuth2JwtGrantIssuer);
print(response);
} catch on DioError (e) {
} catch on DioException (e) {
print('Exception when calling OAuth2Api->trustOAuth2JwtGrantIssuer: $e\n');
}
```
Expand Down
Loading

0 comments on commit a8b55ab

Please sign in to comment.