From 5fbe4e81a7fe41e2d899edb539f281d660e443ae Mon Sep 17 00:00:00 2001 From: Pedro Crespo-Valero <32402063+pcrespov@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:56:22 +0100 Subject: [PATCH] fixes OAS --- .../src/models_library/api_schemas_webserver/groups.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/models-library/src/models_library/api_schemas_webserver/groups.py b/packages/models-library/src/models_library/api_schemas_webserver/groups.py index 9439d0ba371..fcf89919b9b 100644 --- a/packages/models-library/src/models_library/api_schemas_webserver/groups.py +++ b/packages/models-library/src/models_library/api_schemas_webserver/groups.py @@ -228,13 +228,11 @@ class GroupUserGet(BaseModel): # OutputSchema # Identifiers - id: Annotated[ - UserID | None, Field(description="the user id", coerce_numbers_to_str=True) - ] = None + id: Annotated[UserID | None, Field(description="the user's id")] = None user_name: Annotated[UserNameID, Field(alias="userName")] gid: Annotated[ GroupID | None, - Field(description="the user primary gid", coerce_numbers_to_str=True), + Field(description="the user primary gid"), ] = None # Private Profile