mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-27 16:18:54 +00:00
Allow null md5 in request schema
This commit is contained in:
parent
a8e69d9a0b
commit
8bd2453bf8
@ -59,7 +59,7 @@ VM_CREATE_SCHEMA = {
|
|||||||
},
|
},
|
||||||
"image_md5sum": {
|
"image_md5sum": {
|
||||||
"description": "checksum of the IOS image",
|
"description": "checksum of the IOS image",
|
||||||
"type": "string",
|
"type": ["string", "null"],
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
},
|
},
|
||||||
"startup_config": {
|
"startup_config": {
|
||||||
@ -295,7 +295,7 @@ VM_UPDATE_SCHEMA = {
|
|||||||
},
|
},
|
||||||
"image_md5sum": {
|
"image_md5sum": {
|
||||||
"description": "checksum of the IOS image",
|
"description": "checksum of the IOS image",
|
||||||
"type": "string",
|
"type": ["string", "null"],
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
},
|
},
|
||||||
"startup_config_content": {
|
"startup_config_content": {
|
||||||
@ -558,7 +558,7 @@ VM_OBJECT_SCHEMA = {
|
|||||||
},
|
},
|
||||||
"image_md5sum": {
|
"image_md5sum": {
|
||||||
"description": "checksum of the IOS image",
|
"description": "checksum of the IOS image",
|
||||||
"type": "string",
|
"type": ["string", "null"],
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
},
|
},
|
||||||
"startup_config": {
|
"startup_config": {
|
||||||
|
@ -48,7 +48,7 @@ IOU_CREATE_SCHEMA = {
|
|||||||
},
|
},
|
||||||
"md5sum": {
|
"md5sum": {
|
||||||
"description": "Checksum of iou binary",
|
"description": "Checksum of iou binary",
|
||||||
"type": "string"
|
"type": ["string", "null"]
|
||||||
},
|
},
|
||||||
"serial_adapters": {
|
"serial_adapters": {
|
||||||
"description": "How many serial adapters are connected to the IOU",
|
"description": "How many serial adapters are connected to the IOU",
|
||||||
@ -121,7 +121,7 @@ IOU_UPDATE_SCHEMA = {
|
|||||||
},
|
},
|
||||||
"md5sum": {
|
"md5sum": {
|
||||||
"description": "Checksum of iou binary",
|
"description": "Checksum of iou binary",
|
||||||
"type": "string"
|
"type": ["string", "null"]
|
||||||
},
|
},
|
||||||
"serial_adapters": {
|
"serial_adapters": {
|
||||||
"description": "How many serial adapters are connected to the IOU",
|
"description": "How many serial adapters are connected to the IOU",
|
||||||
@ -199,7 +199,7 @@ IOU_OBJECT_SCHEMA = {
|
|||||||
},
|
},
|
||||||
"md5sum": {
|
"md5sum": {
|
||||||
"description": "Checksum of iou binary",
|
"description": "Checksum of iou binary",
|
||||||
"type": "string"
|
"type": ["string", "null"]
|
||||||
},
|
},
|
||||||
"serial_adapters": {
|
"serial_adapters": {
|
||||||
"description": "How many serial adapters are connected to the IOU",
|
"description": "How many serial adapters are connected to the IOU",
|
||||||
|
Loading…
Reference in New Issue
Block a user