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 Sep 5, 2023
1 parent d1f9ba8 commit 35d6295
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 17 deletions.
5 changes: 2 additions & 3 deletions internal/httpclient/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3586,7 +3586,7 @@ components:
access_token: access_token
refresh_token: refresh_token
scope: scope
id_token: 6
id_token: id_token
token_type: token_type
expires_in: 0
properties:
Expand All @@ -3601,8 +3601,7 @@ components:
type: integer
id_token:
description: To retrieve a refresh token request the id_token scope.
format: int64
type: integer
type: string
refresh_token:
description: "The refresh token, which can be used to obtain new\naccess\
\ tokens. To retrieve it add the scope \"offline\" to your access token\
Expand Down
8 changes: 4 additions & 4 deletions internal/httpclient/docs/OAuth2TokenExchange.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccessToken** | Pointer to **string** | The access token issued by the authorization server. | [optional]
**ExpiresIn** | Pointer to **int64** | The lifetime in seconds of the access token. For example, the value \"3600\" denotes that the access token will expire in one hour from the time the response was generated. | [optional]
**IdToken** | Pointer to **int64** | To retrieve a refresh token request the id_token scope. | [optional]
**IdToken** | Pointer to **string** | To retrieve a refresh token request the id_token scope. | [optional]
**RefreshToken** | Pointer to **string** | The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope \"offline\" to your access token request. | [optional]
**Scope** | Pointer to **string** | The scope of the access token | [optional]
**TokenType** | Pointer to **string** | The type of the token issued | [optional]
Expand Down Expand Up @@ -82,20 +82,20 @@ HasExpiresIn returns a boolean if a field has been set.

### GetIdToken

`func (o *OAuth2TokenExchange) GetIdToken() int64`
`func (o *OAuth2TokenExchange) GetIdToken() string`

GetIdToken returns the IdToken field if non-nil, zero value otherwise.

### GetIdTokenOk

`func (o *OAuth2TokenExchange) GetIdTokenOk() (*int64, bool)`
`func (o *OAuth2TokenExchange) GetIdTokenOk() (*string, bool)`

GetIdTokenOk returns a tuple with the IdToken field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetIdToken

`func (o *OAuth2TokenExchange) SetIdToken(v int64)`
`func (o *OAuth2TokenExchange) SetIdToken(v string)`

SetIdToken sets IdToken field to given value.

Expand Down
12 changes: 6 additions & 6 deletions internal/httpclient/model_o_auth2_token_exchange.go

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

3 changes: 1 addition & 2 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1075,8 +1075,7 @@
},
"id_token": {
"description": "To retrieve a refresh token request the id_token scope.",
"format": "int64",
"type": "integer"
"type": "string"
},
"refresh_token": {
"description": "The refresh token, which can be used to obtain new\naccess tokens. To retrieve it add the scope \"offline\" to your access token request.",
Expand Down
3 changes: 1 addition & 2 deletions spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3069,8 +3069,7 @@
},
"id_token": {
"description": "To retrieve a refresh token request the id_token scope.",
"type": "integer",
"format": "int64"
"type": "string"
},
"refresh_token": {
"description": "The refresh token, which can be used to obtain new\naccess tokens. To retrieve it add the scope \"offline\" to your access token request.",
Expand Down

0 comments on commit 35d6295

Please sign in to comment.