Skip to content

Commit 0860ef3

Browse files
committed
autogen(openapi): regenerate swagger spec and internal client
[skip ci]
1 parent f89d279 commit 0860ef3

6 files changed

+24
-35
lines changed

internal/httpclient/api/openapi.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -4527,10 +4527,8 @@ components:
45274527
flows.
45284528
type: string
45294529
identifier:
4530-
description: |-
4531-
Identifier is the email or username of the user trying to log in. This field is
4532-
only required when using WebAuthn for passwordless login. When using WebAuthn
4533-
for multi-factor authentication, it is not needed.
4530+
description: Identifier is the email or username of the user trying to log
4531+
in.
45344532
type: string
45354533
method:
45364534
description: Method should be set to "webAuthn" when logging in using the
@@ -4543,6 +4541,7 @@ components:
45434541
This must contain the ID of the WebAuthN connection.
45444542
type: string
45454543
required:
4544+
- identifier
45464545
- method
45474546
title: submitSelfServiceLoginFlowWithWebAuthnMethodBody is used to decode the
45484547
login form payload.

internal/httpclient/docs/SubmitSelfServiceLoginFlowBody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**CsrfToken** | Pointer to **string** | Sending the anti-csrf token is only required for browser login flows. | [optional]
8-
**Identifier** | **string** | Identifier is the email or username of the user trying to log in. This field is only required when using WebAuthn for passwordless login. When using WebAuthn for multi-factor authentication, it is not needed. |
8+
**Identifier** | **string** | Identifier is the email or username of the user trying to log in. |
99
**Method** | **string** | Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy. |
1010
**Password** | **string** | The user's password. |
1111
**PasswordIdentifier** | Pointer to **string** | Identifier is the email or username of the user trying to log in. This field is deprecated! | [optional]

internal/httpclient/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**CsrfToken** | Pointer to **string** | Sending the anti-csrf token is only required for browser login flows. | [optional]
8-
**Identifier** | Pointer to **string** | Identifier is the email or username of the user trying to log in. This field is only required when using WebAuthn for passwordless login. When using WebAuthn for multi-factor authentication, it is not needed. | [optional]
8+
**Identifier** | **string** | Identifier is the email or username of the user trying to log in. |
99
**Method** | **string** | Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy. |
1010
**WebauthnLogin** | Pointer to **string** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional]
1111

1212
## Methods
1313

1414
### NewSubmitSelfServiceLoginFlowWithWebAuthnMethodBody
1515

16-
`func NewSubmitSelfServiceLoginFlowWithWebAuthnMethodBody(method string, ) *SubmitSelfServiceLoginFlowWithWebAuthnMethodBody`
16+
`func NewSubmitSelfServiceLoginFlowWithWebAuthnMethodBody(identifier string, method string, ) *SubmitSelfServiceLoginFlowWithWebAuthnMethodBody`
1717

1818
NewSubmitSelfServiceLoginFlowWithWebAuthnMethodBody instantiates a new SubmitSelfServiceLoginFlowWithWebAuthnMethodBody object
1919
This constructor will assign default values to properties that have it defined,
@@ -72,11 +72,6 @@ and a boolean to check if the value has been set.
7272

7373
SetIdentifier sets Identifier field to given value.
7474

75-
### HasIdentifier
76-
77-
`func (o *SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) HasIdentifier() bool`
78-
79-
HasIdentifier returns a boolean if a field has been set.
8075

8176
### GetMethod
8277

internal/httpclient/model_submit_self_service_login_flow_with_web_authn_method_body.go

+14-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/api.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@
13871387
"type": "string"
13881388
},
13891389
"identifier": {
1390-
"description": "Identifier is the email or username of the user trying to log in. This field is\nonly required when using WebAuthn for passwordless login. When using WebAuthn\nfor multi-factor authentication, it is not needed.",
1390+
"description": "Identifier is the email or username of the user trying to log in.",
13911391
"type": "string"
13921392
},
13931393
"method": {
@@ -1400,6 +1400,7 @@
14001400
}
14011401
},
14021402
"required": [
1403+
"identifier",
14031404
"method"
14041405
],
14051406
"title": "submitSelfServiceLoginFlowWithWebAuthnMethodBody is used to decode the login form payload.",

spec/swagger.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3694,6 +3694,7 @@
36943694
"type": "object",
36953695
"title": "submitSelfServiceLoginFlowWithWebAuthnMethodBody is used to decode the login form payload.",
36963696
"required": [
3697+
"identifier",
36973698
"method"
36983699
],
36993700
"properties": {
@@ -3702,7 +3703,7 @@
37023703
"type": "string"
37033704
},
37043705
"identifier": {
3705-
"description": "Identifier is the email or username of the user trying to log in. This field is\nonly required when using WebAuthn for passwordless login. When using WebAuthn\nfor multi-factor authentication, it is not needed.",
3706+
"description": "Identifier is the email or username of the user trying to log in.",
37063707
"type": "string"
37073708
},
37083709
"method": {

0 commit comments

Comments
 (0)