diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 9fd257b8..66bcac36 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -88,7 +88,25 @@ paths: '404': $ref: "#/components/responses/NotFound" '500': - $ref: "#/components/responses/InternalServerError" + $ref: "#/components/responses/InternalServerError" + /boroughs/{boroughId}/community-districts/{communityDistrictId}/capital-projects: + get: + summary: Find paginated capital projects within a specified community district + operationId: findCapitalProjectsByBoroughIdCommunityDistrictId + tags: + - Capital Projects + parameters: + - $ref: "#/components/parameters/boroughIdParam" + - $ref: "#/components/parameters/communityDistrictIdParam" + responses: + '200': + $ref: "#/components/schemas/CapitalProjectPage" + '400': + $ref: "#components/responses/BadRequest" + '404': + $ref: "#/components/responses/NotFound" + '500': + $ref: "#/components/responses/InternalServerError" /land-uses: get: summary: List land uses