Skip to content

Commit 154b61b

Browse files
authored
fix: wrong config key in admin recovery documentation (#2815)
1 parent 504fb36 commit 154b61b

9 files changed

+16
-16
lines changed

internal/httpclient/api/openapi.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3618,8 +3618,8 @@ components:
36183618
description: |-
36193619
Code Expires In
36203620
3621-
The recovery code will expire at that point in time. Defaults to the configuration value of
3622-
`selfservice.flows.recovery.request_lifespan`.
3621+
The recovery code will expire after that amount of time has passed. Defaults to the configuration value of
3622+
`selfservice.methods.code.config.lifespan`.
36233623
pattern: ^([0-9]+(ns|us|ms|s|m|h))*$
36243624
type: string
36253625
identity_id:
@@ -3638,8 +3638,8 @@ components:
36383638
description: |-
36393639
Link Expires In
36403640
3641-
The recovery link will expire at that point in time. Defaults to the configuration value of
3642-
`selfservice.flows.recovery.request_lifespan`.
3641+
The recovery link will expire after that amount of time has passed. Defaults to the configuration value of
3642+
`selfservice.methods.code.config.lifespan`.
36433643
pattern: ^[0-9]+(ns|us|ms|s|m|h)$
36443644
type: string
36453645
identity_id:

internal/httpclient/docs/AdminCreateSelfServiceRecoveryCodeBody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**ExpiresIn** | Pointer to **string** | Code Expires In The recovery code will expire at that point in time. Defaults to the configuration value of `selfservice.flows.recovery.request_lifespan`. | [optional]
7+
**ExpiresIn** | Pointer to **string** | Code Expires In The recovery code will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. | [optional]
88
**IdentityId** | **string** | Identity to Recover The identity's ID you wish to recover. |
99

1010
## Methods

internal/httpclient/docs/AdminCreateSelfServiceRecoveryLinkBody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**ExpiresIn** | Pointer to **string** | Link Expires In The recovery link will expire at that point in time. Defaults to the configuration value of `selfservice.flows.recovery.request_lifespan`. | [optional]
7+
**ExpiresIn** | Pointer to **string** | Link Expires In The recovery link will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. | [optional]
88
**IdentityId** | **string** | Identity to Recover The identity's ID you wish to recover. |
99

1010
## Methods

internal/httpclient/model_admin_create_self_service_recovery_code_body.go

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

internal/httpclient/model_admin_create_self_service_recovery_link_body.go

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

selfservice/strategy/code/strategy_recovery.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ type adminCreateSelfServiceRecoveryCodeBody struct {
7979

8080
// Code Expires In
8181
//
82-
// The recovery code will expire at that point in time. Defaults to the configuration value of
83-
// `selfservice.flows.recovery.request_lifespan`.
82+
// The recovery code will expire after that amount of time has passed. Defaults to the configuration value of
83+
// `selfservice.methods.code.config.lifespan`.
8484
//
8585
//
8686
// pattern: ^([0-9]+(ns|us|ms|s|m|h))*$

selfservice/strategy/link/strategy_recovery.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ type adminCreateSelfServiceRecoveryLinkBody struct {
7575

7676
// Link Expires In
7777
//
78-
// The recovery link will expire at that point in time. Defaults to the configuration value of
79-
// `selfservice.flows.recovery.request_lifespan`.
78+
// The recovery link will expire after that amount of time has passed. Defaults to the configuration value of
79+
// `selfservice.methods.code.config.lifespan`.
8080
//
8181
//
8282
// pattern: ^[0-9]+(ns|us|ms|s|m|h)$

spec/api.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@
435435
"adminCreateSelfServiceRecoveryCodeBody": {
436436
"properties": {
437437
"expires_in": {
438-
"description": "Code Expires In\n\nThe recovery code will expire at that point in time. Defaults to the configuration value of\n`selfservice.flows.recovery.request_lifespan`.",
438+
"description": "Code Expires In\n\nThe recovery code will expire after that amount of time has passed. Defaults to the configuration value of\n`selfservice.methods.code.config.lifespan`.",
439439
"pattern": "^([0-9]+(ns|us|ms|s|m|h))*$",
440440
"type": "string"
441441
},
@@ -453,7 +453,7 @@
453453
"adminCreateSelfServiceRecoveryLinkBody": {
454454
"properties": {
455455
"expires_in": {
456-
"description": "Link Expires In\n\nThe recovery link will expire at that point in time. Defaults to the configuration value of\n`selfservice.flows.recovery.request_lifespan`.",
456+
"description": "Link Expires In\n\nThe recovery link will expire after that amount of time has passed. Defaults to the configuration value of\n`selfservice.methods.code.config.lifespan`.",
457457
"pattern": "^[0-9]+(ns|us|ms|s|m|h)$",
458458
"type": "string"
459459
},

spec/swagger.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3027,7 +3027,7 @@
30273027
],
30283028
"properties": {
30293029
"expires_in": {
3030-
"description": "Code Expires In\n\nThe recovery code will expire at that point in time. Defaults to the configuration value of\n`selfservice.flows.recovery.request_lifespan`.",
3030+
"description": "Code Expires In\n\nThe recovery code will expire after that amount of time has passed. Defaults to the configuration value of\n`selfservice.methods.code.config.lifespan`.",
30313031
"type": "string",
30323032
"pattern": "^([0-9]+(ns|us|ms|s|m|h))*$"
30333033
},
@@ -3045,7 +3045,7 @@
30453045
],
30463046
"properties": {
30473047
"expires_in": {
3048-
"description": "Link Expires In\n\nThe recovery link will expire at that point in time. Defaults to the configuration value of\n`selfservice.flows.recovery.request_lifespan`.",
3048+
"description": "Link Expires In\n\nThe recovery link will expire after that amount of time has passed. Defaults to the configuration value of\n`selfservice.methods.code.config.lifespan`.",
30493049
"type": "string",
30503050
"pattern": "^[0-9]+(ns|us|ms|s|m|h)$"
30513051
},

0 commit comments

Comments
 (0)