From 5f4cf357f4e0de07af0785f61e54c7ba0639df57 Mon Sep 17 00:00:00 2001 From: Patrick Wang <1263870+patrickkwang@users.noreply.github.com> Date: Wed, 18 Aug 2021 12:07:24 -0400 Subject: [PATCH] Add default [] for qnode/qedge constraints This means that those fields are not longer nullable. --- TranslatorReasonerAPI.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TranslatorReasonerAPI.yaml b/TranslatorReasonerAPI.yaml index 56d1956b..c31349aa 100644 --- a/TranslatorReasonerAPI.yaml +++ b/TranslatorReasonerAPI.yaml @@ -540,7 +540,7 @@ components: to AND) items: $ref: '#/components/schemas/QueryConstraint' - nullable: true + default: [] additionalProperties: true QEdge: type: object @@ -581,7 +581,7 @@ components: to AND) items: $ref: '#/components/schemas/QueryConstraint' - nullable: true + default: [] additionalProperties: true required: - subject