Skip to content

Commit

Permalink
autogen(openapi): regenerate swagger spec and internal client
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
ory-bot committed Feb 14, 2022
1 parent 4c91a39 commit ce6c4f8
Show file tree
Hide file tree
Showing 79 changed files with 298 additions and 350 deletions.
143 changes: 67 additions & 76 deletions internal/httpclient-next/api/openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion internal/httpclient-next/docs/AdminApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ import (

func main() {
id := "id_example" // string | The id of the OAuth 2.0 Client.
patchDocument := []openapiclient.PatchDocument{*openapiclient.NewPatchDocument(""replace"", ""/name"")} // []PatchDocument |
patchDocument := []openapiclient.PatchDocument{*openapiclient.NewPatchDocument("\"replace\", "\"/name\")} // []PatchDocument |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**NotAfter** | Pointer to **time.Time** | NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing. Format: date-time | [optional]
**NotAfter** | Pointer to **time.Time** | NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing. Format: date-time Format: date-time | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion internal/httpclient-next/docs/FlushLoginConsentRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**NotAfter** | Pointer to **time.Time** | NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recent login and consent database entries for auditing. | [optional]
**NotAfter** | Pointer to **time.Time** | NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recent login and consent database entries for auditing. Format: date-time | [optional]

## Methods

Expand Down
24 changes: 12 additions & 12 deletions internal/httpclient-next/docs/JSONWebKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Alg** | **string** | The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. |
**Crv** | Pointer to **string** | crv | [optional]
**D** | Pointer to **string** | d | [optional]
**Dp** | Pointer to **string** | dp | [optional]
**Dq** | Pointer to **string** | dq | [optional]
**E** | Pointer to **string** | e | [optional]
**K** | Pointer to **string** | k | [optional]
**Crv** | Pointer to **string** | | [optional]
**D** | Pointer to **string** | | [optional]
**Dp** | Pointer to **string** | | [optional]
**Dq** | Pointer to **string** | | [optional]
**E** | Pointer to **string** | | [optional]
**K** | Pointer to **string** | | [optional]
**Kid** | **string** | The \"kid\" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string. |
**Kty** | **string** | The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string. |
**N** | Pointer to **string** | n | [optional]
**P** | Pointer to **string** | p | [optional]
**Q** | Pointer to **string** | q | [optional]
**Qi** | Pointer to **string** | qi | [optional]
**N** | Pointer to **string** | | [optional]
**P** | Pointer to **string** | | [optional]
**Q** | Pointer to **string** | | [optional]
**Qi** | Pointer to **string** | | [optional]
**Use** | **string** | Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption). |
**X** | Pointer to **string** | x | [optional]
**X** | Pointer to **string** | | [optional]
**X5c** | Pointer to **[]string** | The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate. | [optional]
**Y** | Pointer to **string** | y | [optional]
**Y** | Pointer to **string** | | [optional]

## Methods

Expand Down
4 changes: 2 additions & 2 deletions internal/httpclient-next/docs/OAuth2Client.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**ClientSecretExpiresAt** | Pointer to **int64** | SecretExpiresAt is an integer holding the time at which the client secret will expire or 0 if it will not expire. The time is represented as the number of seconds from 1970-01-01T00:00:00Z as measured in UTC until the date/time of expiration. This feature is currently not supported and it's value will always be set to 0. | [optional]
**ClientUri** | Pointer to **string** | ClientURI is an URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a clickable fashion. | [optional]
**Contacts** | Pointer to **[]string** | | [optional]
**CreatedAt** | Pointer to **time.Time** | CreatedAt returns the timestamp of the client's creation. Format: date-time | [optional]
**CreatedAt** | Pointer to **time.Time** | CreatedAt returns the timestamp of the client's creation. Format: date-time Format: date-time | [optional]
**FrontchannelLogoutSessionRequired** | Pointer to **bool** | Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false. | [optional]
**FrontchannelLogoutUri** | Pointer to **string** | RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be. | [optional]
**GrantTypes** | Pointer to **[]string** | | [optional]
Expand All @@ -37,7 +37,7 @@ Name | Type | Description | Notes
**TokenEndpointAuthMethod** | Pointer to **string** | Requested Client Authentication method for the Token Endpoint. The options are client_secret_post, client_secret_basic, private_key_jwt, and none. | [optional]
**TokenEndpointAuthSigningAlg** | Pointer to **string** | Requested Client Authentication signing algorithm for the Token Endpoint. | [optional]
**TosUri** | Pointer to **string** | TermsOfServiceURI is a URL string that points to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client. | [optional]
**UpdatedAt** | Pointer to **time.Time** | UpdatedAt returns the timestamp of the last update. Format: date-time | [optional]
**UpdatedAt** | Pointer to **time.Time** | UpdatedAt returns the timestamp of the last update. Format: date-time Format: date-time | [optional]
**UserinfoSignedResponseAlg** | Pointer to **string** | JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type. | [optional]

## Methods
Expand Down
6 changes: 3 additions & 3 deletions internal/httpclient-next/docs/TrustedJwtGrantIssuer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CreatedAt** | Pointer to **time.Time** | The \"created_at\" indicates, when grant was created. Format: date-time Format: date-time | [optional]
**ExpiresAt** | Pointer to **time.Time** | The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\". Format: date-time Format: date-time | [optional]
**Id** | Pointer to **string** | id | [optional]
**CreatedAt** | Pointer to **time.Time** | The \"created_at\" indicates, when grant was created. | [optional]
**ExpiresAt** | Pointer to **time.Time** | The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\". | [optional]
**Id** | Pointer to **string** | | [optional]
**Issuer** | Pointer to **string** | The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT). | [optional]
**PublicKey** | Pointer to [**TrustedJsonWebKey**](TrustedJsonWebKey.md) | | [optional]
**Scope** | Pointer to **[]string** | The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) | [optional]
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/httpclient-next/model_flush_login_consent_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient-next/model_generic_error.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 15 additions & 27 deletions internal/httpclient-next/model_json_web_key.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient-next/model_json_web_key_set.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/httpclient-next/model_o_auth2_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient-next/model_oauth2_token_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient-next/model_oauth_token_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient-next/model_patch_document.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ce6c4f8

Please sign in to comment.