|
@@ -188,6 +188,7 @@ class WorkspaceMenuEntrySchema(marshmallow.Schema):
|
188
|
188
|
|
189
|
189
|
class WorkspaceDigestSchema(marshmallow.Schema):
|
190
|
190
|
id = marshmallow.fields.Int(example=4)
|
|
191
|
+ slug = marshmallow.fields.String(example='intranet')
|
191
|
192
|
label = marshmallow.fields.String(example='Intranet')
|
192
|
193
|
sidebar_entries = marshmallow.fields.Nested(
|
193
|
194
|
WorkspaceMenuEntrySchema,
|
|
@@ -199,7 +200,6 @@ class WorkspaceDigestSchema(marshmallow.Schema):
|
199
|
200
|
|
200
|
201
|
|
201
|
202
|
class WorkspaceSchema(WorkspaceDigestSchema):
|
202
|
|
- slug = marshmallow.fields.String(example='intranet')
|
203
|
203
|
description = marshmallow.fields.String(example='All intranet data.')
|
204
|
204
|
|
205
|
205
|
class Meta:
|