Skip to content

Commit

Permalink
Document capital projects in city council district endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarchena committed May 30, 2024
1 parent 07175cf commit 424b311
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,27 @@ paths:
$ref: "#/components/responses/NotFound"
'500':
$ref: "#/components/responses/InternalServerError"
/city-council-districts/{cityCouncilDistrictId}/capital-projects:
get:
summary: Find paginated capital projects within a specific city council district.
operationId: findCapitalProjectsByCityCouncilId
tags:
- Capital Projects
parameters:
- $ref: "#/components/parameters/cityCouncilDistrictIdParam"
responses:
'200':
description: An object containing pagination metadata and an array of capital projects for the city council district
content:
application/json:
schema:
$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
Expand Down

0 comments on commit 424b311

Please sign in to comment.