Skip to content

Commit 0d47ec7

Browse files
committed
@odeimaiz review: rename user_primary_group_id
1 parent 562dc40 commit 0d47ec7

File tree

2 files changed

+7
-4
lines changed
  • packages/models-library/src/models_library/api_schemas_webserver
  • services/web/server/src/simcore_service_webserver/api/v0

2 files changed

+7
-4
lines changed

packages/models-library/src/models_library/api_schemas_webserver/users.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,10 @@ class UserAccountGet(OutputSchema):
401401
user_primary_group_id: Annotated[
402402
PrimaryGroupID | None,
403403
Field(
404-
description="Primary group ID of the user if an account was created", gt=2
404+
description="Primary group ID of the user if an account was created",
405+
gt=2,
406+
alias="groupId",
407+
# SEE https://github.com/ITISFoundation/osparc-simcore/pull/8358#issuecomment-3279491740
405408
),
406409
]
407410

services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18445,13 +18445,13 @@ components:
1844518445
- type: 'null'
1844618446
title: Username
1844718447
description: Username of the user if an account was created
18448-
userPrimaryGroupId:
18448+
groupId:
1844918449
anyOf:
1845018450
- type: integer
1845118451
exclusiveMinimum: true
1845218452
minimum: 2
1845318453
- type: 'null'
18454-
title: Userprimarygroupid
18454+
title: Groupid
1845518455
description: Primary group ID of the user if an account was created
1845618456
type: object
1845718457
required:
@@ -18472,7 +18472,7 @@ components:
1847218472
- status
1847318473
- userId
1847418474
- userName
18475-
- userPrimaryGroupId
18475+
- groupId
1847618476
title: UserAccountGet
1847718477
UserAccountReject:
1847818478
properties:

0 commit comments

Comments
 (0)