1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-18 06:18:08 +00:00

Allow null md5 in request schema

This commit is contained in:
Julien Duponchelle 2015-06-19 16:38:22 +02:00
parent a8e69d9a0b
commit 8bd2453bf8
2 changed files with 6 additions and 6 deletions

View File

@ -59,7 +59,7 @@ VM_CREATE_SCHEMA = {
},
"image_md5sum": {
"description": "checksum of the IOS image",
"type": "string",
"type": ["string", "null"],
"minLength": 1,
},
"startup_config": {
@ -295,7 +295,7 @@ VM_UPDATE_SCHEMA = {
},
"image_md5sum": {
"description": "checksum of the IOS image",
"type": "string",
"type": ["string", "null"],
"minLength": 1,
},
"startup_config_content": {
@ -558,7 +558,7 @@ VM_OBJECT_SCHEMA = {
},
"image_md5sum": {
"description": "checksum of the IOS image",
"type": "string",
"type": ["string", "null"],
"minLength": 1,
},
"startup_config": {

View File

@ -48,7 +48,7 @@ IOU_CREATE_SCHEMA = {
},
"md5sum": {
"description": "Checksum of iou binary",
"type": "string"
"type": ["string", "null"]
},
"serial_adapters": {
"description": "How many serial adapters are connected to the IOU",
@ -121,7 +121,7 @@ IOU_UPDATE_SCHEMA = {
},
"md5sum": {
"description": "Checksum of iou binary",
"type": "string"
"type": ["string", "null"]
},
"serial_adapters": {
"description": "How many serial adapters are connected to the IOU",
@ -199,7 +199,7 @@ IOU_OBJECT_SCHEMA = {
},
"md5sum": {
"description": "Checksum of iou binary",
"type": "string"
"type": ["string", "null"]
},
"serial_adapters": {
"description": "How many serial adapters are connected to the IOU",