diff --git a/CHANGELOG.md b/CHANGELOG.md index 53628a556bf..e6318bb2b55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,8 @@ ## Documentation +* fix swagger: mark name in UserUpdate as optional (#1691) + ## Internal changes diff --git a/libs/wire-api/src/Wire/API/User.hs b/libs/wire-api/src/Wire/API/User.hs index 0e6032927ce..4a49ddb2ee4 100644 --- a/libs/wire-api/src/Wire/API/User.hs +++ b/libs/wire-api/src/Wire/API/User.hs @@ -814,6 +814,7 @@ modelUserUpdate = Doc.defineModel "UserUpdate" $ do Doc.description "User Update Data" Doc.property "name" Doc.string' $ Doc.description "Name (1 - 128 characters)" + Doc.optional Doc.property "assets" (Doc.array (Doc.ref modelAsset)) $ do Doc.description "Profile assets" Doc.optional