diff --git a/proto/zitadel/session/v2beta/session_service.proto b/proto/zitadel/session/v2beta/session_service.proto index ef1108e2c7..3461772c9a 100644 --- a/proto/zitadel/session/v2beta/session_service.proto +++ b/proto/zitadel/session/v2beta/session_service.proto @@ -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\"" } ]; }