|
@@ -359,7 +359,7 @@ class ContentDigestSchema(marshmallow.Schema):
|
359
|
359
|
)
|
360
|
360
|
label = marshmallow.fields.Str(example='Intervention Report 12')
|
361
|
361
|
content_type = marshmallow.fields.Str(
|
362
|
|
- example='html-content',
|
|
362
|
+ example='html-documents',
|
363
|
363
|
validate=OneOf([content.slug for content in CONTENT_DEFAULT_TYPE]),
|
364
|
364
|
)
|
365
|
365
|
sub_content_types = marshmallow.fields.List(
|
|
@@ -413,7 +413,7 @@ class ThreadContentSchema(ContentSchema):
|
413
|
413
|
|
414
|
414
|
class HtmlDocumentContentSchema(ContentSchema):
|
415
|
415
|
content_type = marshmallow.fields.Str(
|
416
|
|
- example='html-content',
|
|
416
|
+ example='html-documents',
|
417
|
417
|
validate=OneOf([content.slug for content in CONTENT_DEFAULT_TYPE]),
|
418
|
418
|
)
|
419
|
419
|
raw_content = marshmallow.fields.String('<p>Html page Content!</p>')
|
|
@@ -443,7 +443,7 @@ class ThreadRevisionSchema(RevisionSchema):
|
443
|
443
|
|
444
|
444
|
class HtmlDocumentRevisionSchema(RevisionSchema):
|
445
|
445
|
content_type = marshmallow.fields.Str(
|
446
|
|
- example='html-content',
|
|
446
|
+ example='html-documents',
|
447
|
447
|
validate=OneOf([content.slug for content in CONTENT_DEFAULT_TYPE]),
|
448
|
448
|
)
|
449
|
449
|
raw_content = marshmallow.fields.String('<p>Html page Content!</p>')
|