Do not allow additional properties in the API's photo_sizes schema definition
This commit is contained in:
parent
dbbf743920
commit
6df742a7cb
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@
|
|||
"small": { "$ref": "https://diaspora.software/api/v1/schema.json#/definitions/url" }
|
||||
},
|
||||
"required": ["raw", "large", "medium", "small"],
|
||||
"additionalProperties": true
|
||||
"additionalProperties": false
|
||||
},
|
||||
|
||||
"photo_dimensions": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue