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 Nov 3, 2022
1 parent f59f1c6 commit fd02049
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
Expand Up @@ -3914,7 +3914,7 @@ components:
example:
access_token: access_token
refresh_token: refresh_token
scope: 1
scope: scope
id_token: 6
token_type: token_type
expires_in: 0
Expand Down Expand Up @@ -3943,8 +3943,7 @@ components:
type: string
scope:
description: The scope of the access token
format: int64
type: integer
type: string
token_type:
description: The type of the token issued
type: string
Expand Down
8 changes: 4 additions & 4 deletions internal/httpclient/docs/OAuth2TokenExchange.md
Expand Up @@ -8,7 +8,7 @@
| **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] |
| **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 **int64** | The scope of the access token | [optional] |
| **Scope** | Pointer to **string** | The scope of the access token | [optional] |
| **TokenType** | Pointer to **string** | The type of the token issued | [optional] |

## Methods
Expand Down Expand Up @@ -132,20 +132,20 @@ HasRefreshToken returns a boolean if a field has been set.

### GetScope

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

GetScope returns the Scope field if non-nil, zero value otherwise.

### GetScopeOk

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

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

### SetScope

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

SetScope sets Scope 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
Expand Up @@ -982,8 +982,7 @@
},
"scope": {
"description": "The scope of the access token",
"format": "int64",
"type": "integer"
"type": "string"
},
"token_type": {
"description": "The type of the token issued",
Expand Down
3 changes: 1 addition & 2 deletions spec/swagger.json
Expand Up @@ -2909,8 +2909,7 @@
},
"scope": {
"description": "The scope of the access token",
"type": "integer",
"format": "int64"
"type": "string"
},
"token_type": {
"description": "The type of the token issued",
Expand Down

0 comments on commit fd02049

Please sign in to comment.