From f9466d8b480a7957f781d2f07f0b7d773626f8d0 Mon Sep 17 00:00:00 2001 From: kathryn-ods Date: Thu, 5 Dec 2024 13:30:42 +0000 Subject: [PATCH] making page.empty a required field --- docs/extras/openapi30.json | 5 ++++- docs/hsds/changelog.md | 5 +++++ schema/openapi.json | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/extras/openapi30.json b/docs/extras/openapi30.json index ebc2db1..e1a5356 100644 --- a/docs/extras/openapi30.json +++ b/docs/extras/openapi30.json @@ -826,7 +826,10 @@ "type": "boolean", "description": "A Boolean value indicating if there is an empty result set" } - } + }, + "required": [ + "empty" + ] } }, "parameters": { diff --git a/docs/hsds/changelog.md b/docs/hsds/changelog.md index 88311c3..a0a92c9 100644 --- a/docs/hsds/changelog.md +++ b/docs/hsds/changelog.md @@ -3,6 +3,11 @@ Changelog This page provides the list of changes that have been made to the HSDS schema. +## [v3.1.1](https://github.com/openreferral/specification/releases/tag/v3.1.1) + +* Made Page.empty a required field for API responses + + ## [v3.1](https://github.com/openreferral/specification/releases/tag/v3.1) ### New schemas diff --git a/schema/openapi.json b/schema/openapi.json index 03adcf1..ff37c95 100644 --- a/schema/openapi.json +++ b/schema/openapi.json @@ -833,7 +833,8 @@ "type": "boolean", "description": "A Boolean value indicating if there is an empty result set" } - } + }, + "required": ["empty"] } }, "parameters": {