Skip to content

Commit 7364411

Browse files
committed
Update legacy swagger1.2.
1 parent c1e55f7 commit 7364411

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libs/wire-api/src/Wire/API/Team.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ modelTeam = Doc.defineModel "Team" $ do
128128
Doc.optional
129129
Doc.property "binding" Doc.bool' $
130130
Doc.description "user binding team"
131+
Doc.property "splash_screen" Doc.string' $ do
132+
Doc.description "new splash screen asset key"
133+
Doc.optional
131134

132135
instance ToSchema Team where
133136
schema =
@@ -293,6 +296,9 @@ modelUpdateData = Doc.defineModel "TeamUpdateData" $ do
293296
Doc.property "icon_key" Doc.string' $ do
294297
Doc.description "new icon asset key"
295298
Doc.optional
299+
Doc.property "splash_screen" Doc.string' $ do
300+
Doc.description "new splash screen asset key"
301+
Doc.optional
296302

297303
newTeamUpdateData :: TeamUpdateData
298304
newTeamUpdateData = TeamUpdateData Nothing Nothing Nothing Nothing

0 commit comments

Comments
 (0)