mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-06 13:07:52 +00:00
docs(api): add session lifetime format for REST calls (#7019)
This commit is contained in:
parent
060b4ab2f0
commit
236930f109
@ -280,7 +280,8 @@ message CreateSessionRequest{
|
||||
optional google.protobuf.Duration lifetime = 5 [
|
||||
(validate.rules).duration = {gt: {seconds: 0}},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "\"duration after which the session will be automatically invalidated\"";
|
||||
description: "\"duration (in seconds) after which the session will be automatically invalidated\"";
|
||||
example:"\"18000s\""
|
||||
}
|
||||
];
|
||||
}
|
||||
@ -333,7 +334,8 @@ message SetSessionRequest{
|
||||
optional google.protobuf.Duration lifetime = 6 [
|
||||
(validate.rules).duration = {gt: {seconds: 0}},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "\"duration after which the session will be automatically invalidated\"";
|
||||
description: "\"duration (in seconds) after which the session will be automatically invalidated\"";
|
||||
example:"\"18000s\""
|
||||
}
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user