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 df821b8 commit d6d9acc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 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 Expand Up @@ -674,6 +695,7 @@ components:
- managingAgencyInitials
- minDate
- maxDate
- category
CapitalProjectPage:
allOf:
- $ref: '#/components/schemas/Page'
Expand Down

0 comments on commit d6d9acc

Please sign in to comment.