mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
hot fix for json checker
now shema extension with 'default' 'title' and 'description' is valid for the checker
This commit is contained in:
parent
d8f6f86948
commit
55cc06615b
@ -108,6 +108,8 @@ void QJsonSchemaChecker::validate(const QJsonValue & value, const QJsonObject &s
|
|||||||
; // nothing to do. value is present so always oke
|
; // nothing to do. value is present so always oke
|
||||||
else if (attribute == "id")
|
else if (attribute == "id")
|
||||||
; // references have already been collected
|
; // references have already been collected
|
||||||
|
else if (attribute == "title" || attribute == "description" || attribute == "default")
|
||||||
|
; // nothing to do.
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// no check function defined for this attribute
|
// no check function defined for this attribute
|
||||||
|
Loading…
Reference in New Issue
Block a user