From 00899a7b6e3da3faddb80e960443ef07d52d439b Mon Sep 17 00:00:00 2001 From: Andrew Porritt <109674546+porritta@users.noreply.github.com> Date: Wed, 13 Dec 2023 09:48:58 +0000 Subject: [PATCH] fix(ccls-1963): initialise content arrays to empty list (#71) --- data-api/open-api-specification.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/data-api/open-api-specification.yml b/data-api/open-api-specification.yml index fbdf9dc..d291fa2 100644 --- a/data-api/open-api-specification.yml +++ b/data-api/open-api-specification.yml @@ -670,6 +670,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: '#/components/schemas/proceedingDetail' proceedingDetail: @@ -715,6 +716,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: '#/components/schemas/baseUser' userDetail: @@ -748,6 +750,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: '#/components/schemas/amendmentTypeLookupValueDetail' amendmentTypeLookupValueDetail: @@ -775,6 +778,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: '#/components/schemas/caseStatusLookupValueDetail' caseStatusLookupValueDetail: @@ -796,6 +800,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: '#/components/schemas/outcomeResultLookupValueDetail' outcomeResultLookupValueDetail: @@ -818,6 +823,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: '#/components/schemas/stageEndLookupValueDetail' stageEndLookupValueDetail: @@ -840,6 +846,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: '#/components/schemas/awardTypeLookupValueDetail' awardTypeLookupValueDetail: @@ -864,6 +871,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: '#/components/schemas/categoryOfLawLookupValueDetail' categoryOfLawLookupValueDetail: @@ -882,6 +890,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: '#/components/schemas/scopeLimitationDetail' scopeLimitationDetail: @@ -924,6 +933,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: '#/components/schemas/priorAuthorityTypeDetail' priorAuthorityTypeDetail: @@ -976,6 +986,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: "#/components/schemas/commonLookupValueDetail" relationshipToCaseLookupValueDetail: @@ -1000,6 +1011,7 @@ components: properties: content: type: 'array' + default: [] items: $ref: "#/components/schemas/relationshipToCaseLookupValueDetail" page: