From 1782815d8d77ce0aa66357271d6c8c86e8999718 Mon Sep 17 00:00:00 2001 From: shortcuts Date: Wed, 23 Oct 2024 10:40:35 +0200 Subject: [PATCH 1/2] fix(specs): results in getObjects is required --- specs/search/paths/objects/getObjects.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specs/search/paths/objects/getObjects.yml b/specs/search/paths/objects/getObjects.yml index f9a575fa23..96abd8d628 100644 --- a/specs/search/paths/objects/getObjects.yml +++ b/specs/search/paths/objects/getObjects.yml @@ -68,6 +68,8 @@ post: type: object description: Retrieved record. x-is-generic: true + required: + - results '400': $ref: '../../../common/responses/BadRequest.yml' '402': From 9cb21fc7f487f0db66631a61fae90175c49656f7 Mon Sep 17 00:00:00 2001 From: shortcuts Date: Wed, 23 Oct 2024 10:46:57 +0200 Subject: [PATCH 2/2] chore: indentation is hard --- specs/search/paths/objects/getObjects.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/search/paths/objects/getObjects.yml b/specs/search/paths/objects/getObjects.yml index 96abd8d628..ece7e937a6 100644 --- a/specs/search/paths/objects/getObjects.yml +++ b/specs/search/paths/objects/getObjects.yml @@ -68,8 +68,8 @@ post: type: object description: Retrieved record. x-is-generic: true - required: - - results + required: + - results '400': $ref: '../../../common/responses/BadRequest.yml' '402':