From 59d25f8d258d1d7d20e65f3e797c57657154f86c Mon Sep 17 00:00:00 2001 From: Bryan Marchena Date: Fri, 24 May 2024 08:40:07 -0400 Subject: [PATCH] Add CapitalProjectPage OpenAPI schema --- openapi/openapi.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index f19bdfc5..fa3990d0 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -650,9 +650,20 @@ components: - managingAgencyInitials - minDate - maxDate + CapitalProjectPage: + allOf: + - $ref: '#/components/schemas/Page' + - type: object + properties: + capitalProjects: + type: array + items: + $ref: '#/components/schemas/CapitalProject' + required: + - capitalProjects CapitalProjectBudgeted: allOf: - - $ref: '#/components/schema/CapitalProject' + - $ref: '#/components/schemas/CapitalProject' - type: object properties: commitmentsTotal: