mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 23:27:57 +01:00
support more languages
This commit is contained in:
parent
3b1f11e5a8
commit
403d094a3d
@ -699,7 +699,7 @@ public class DocumentResource extends BaseResource {
|
|||||||
|
|
||||||
// Validate input data
|
// Validate input data
|
||||||
title = ValidationUtil.validateLength(title, "title", 1, 100, false);
|
title = ValidationUtil.validateLength(title, "title", 1, 100, false);
|
||||||
language = ValidationUtil.validateLength(language, "language", 3, 3, false);
|
language = ValidationUtil.validateLength(language, "language", 3, 7, false);
|
||||||
description = ValidationUtil.validateLength(description, "description", 0, 4000, true);
|
description = ValidationUtil.validateLength(description, "description", 0, 4000, true);
|
||||||
subject = ValidationUtil.validateLength(subject, "subject", 0, 500, true);
|
subject = ValidationUtil.validateLength(subject, "subject", 0, 500, true);
|
||||||
identifier = ValidationUtil.validateLength(identifier, "identifier", 0, 500, true);
|
identifier = ValidationUtil.validateLength(identifier, "identifier", 0, 500, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user