From 12f027a882e5c6442f5907dfcd346356498375dc Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 3 Nov 2015 17:11:58 +0100 Subject: [PATCH] Allow to return an empty project name because it's allowed in creation --- gns3server/schemas/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/schemas/project.py b/gns3server/schemas/project.py index 59542b75..ec2b9636 100644 --- a/gns3server/schemas/project.py +++ b/gns3server/schemas/project.py @@ -75,7 +75,7 @@ PROJECT_OBJECT_SCHEMA = { "properties": { "name": { "description": "Project name", - "type": "string", + "type": ["string", "null"], "minLength": 1 }, "location": {