Skip to content

Commit

Permalink
Update API Client
Browse files Browse the repository at this point in the history
#### What's Changed
---

##### `POST` /flows/executor/{flow_slug}/

###### Request:

Changed content type : `application/json`

Updated `ak-provider-oauth2-device-code` component:
* Changed property `code` (integer -> string)
  • Loading branch information
authentik-automation[bot] committed Nov 13, 2024
1 parent 5178749 commit c4ea3f2
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 18 deletions.
3 changes: 2 additions & 1 deletion api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51361,7 +51361,8 @@ components:
minLength: 1
type: string
code:
type: integer
minLength: 1
type: string
required:
- code
type: object
Expand Down
10 changes: 5 additions & 5 deletions docs/FlowChallengeResponseRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Component** | Pointer to **string** | | [optional] [default to "ak-stage-user-login"]
**Code** | **int32** | |
**Code** | **string** | |
**PhoneNumber** | Pointer to **string** | | [optional]
**SelectedChallenge** | Pointer to [**DeviceChallengeRequest**](DeviceChallengeRequest.md) | | [optional]
**SelectedStage** | Pointer to **string** | | [optional]
Expand All @@ -22,7 +22,7 @@ Name | Type | Description | Notes

### NewFlowChallengeResponseRequest

`func NewFlowChallengeResponseRequest(code int32, response map[string]interface{}, token string, uidField string, password string, rememberMe bool, ) *FlowChallengeResponseRequest`
`func NewFlowChallengeResponseRequest(code string, response map[string]interface{}, token string, uidField string, password string, rememberMe bool, ) *FlowChallengeResponseRequest`

NewFlowChallengeResponseRequest instantiates a new FlowChallengeResponseRequest object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -64,20 +64,20 @@ HasComponent returns a boolean if a field has been set.

### GetCode

`func (o *FlowChallengeResponseRequest) GetCode() int32`
`func (o *FlowChallengeResponseRequest) GetCode() string`

GetCode returns the Code field if non-nil, zero value otherwise.

### GetCodeOk

`func (o *FlowChallengeResponseRequest) GetCodeOk() (*int32, bool)`
`func (o *FlowChallengeResponseRequest) GetCodeOk() (*string, bool)`

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

### SetCode

`func (o *FlowChallengeResponseRequest) SetCode(v int32)`
`func (o *FlowChallengeResponseRequest) SetCode(v string)`

SetCode sets Code field to given value.

Expand Down
10 changes: 5 additions & 5 deletions docs/OAuthDeviceCodeChallengeResponseRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Component** | Pointer to **string** | | [optional] [default to "ak-provider-oauth2-device-code"]
**Code** | **int32** | |
**Code** | **string** | |

## Methods

### NewOAuthDeviceCodeChallengeResponseRequest

`func NewOAuthDeviceCodeChallengeResponseRequest(code int32, ) *OAuthDeviceCodeChallengeResponseRequest`
`func NewOAuthDeviceCodeChallengeResponseRequest(code string, ) *OAuthDeviceCodeChallengeResponseRequest`

NewOAuthDeviceCodeChallengeResponseRequest instantiates a new OAuthDeviceCodeChallengeResponseRequest object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -53,20 +53,20 @@ HasComponent returns a boolean if a field has been set.

### GetCode

`func (o *OAuthDeviceCodeChallengeResponseRequest) GetCode() int32`
`func (o *OAuthDeviceCodeChallengeResponseRequest) GetCode() string`

GetCode returns the Code field if non-nil, zero value otherwise.

### GetCodeOk

`func (o *OAuthDeviceCodeChallengeResponseRequest) GetCodeOk() (*int32, bool)`
`func (o *OAuthDeviceCodeChallengeResponseRequest) GetCodeOk() (*string, bool)`

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

### SetCode

`func (o *OAuthDeviceCodeChallengeResponseRequest) SetCode(v int32)`
`func (o *OAuthDeviceCodeChallengeResponseRequest) SetCode(v string)`

SetCode sets Code field to given value.

Expand Down
12 changes: 6 additions & 6 deletions model_o_auth_device_code_challenge_response_request.go

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

3 changes: 2 additions & 1 deletion schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44957,7 +44957,8 @@ components:
minLength: 1
default: ak-provider-oauth2-device-code
code:
type: integer
type: string
minLength: 1
required:
- code
OAuthDeviceCodeFinishChallenge:
Expand Down

0 comments on commit c4ea3f2

Please sign in to comment.