API: photo width and height are optional

This commit is contained in:
Jonne Haß 2019-04-28 12:56:06 +02:00 committed by Jonne Haß
parent cb679371ac
commit 6d6e846916

View file

@ -219,8 +219,8 @@
"photo_dimensions": {
"type": "object",
"properties": {
"width": { "type": "integer" },
"height": { "type": "integer" }
"width": { "type": ["integer", "null"] },
"height": { "type": ["integer", "null"] }
},
"required": ["width", "height"]
},