Skip to content

Commit

Permalink
Add capital projects in community district endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarchena committed May 28, 2024
1 parent 08e2960 commit e57c20d
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -652,7 +670,7 @@ components:
- managingAgencyInitials
- minDate
- maxDate
CapitalProjectPage:
schemas CapitalProjectPage:
allOf:
- $ref: '#/components/schemas/Page'
- type: object
Expand Down

0 comments on commit e57c20d

Please sign in to comment.