Skip to content

Commit

Permalink
241 city council district endpoint documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
horatiorosa committed May 30, 2024
1 parent d6d9acc commit 832b208
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,30 @@ paths:
$ref: "#/components/responses/NotFound"
'500':
$ref: "#/components/responses/InternalServerError"
/city-council-districts:
get:
summary: 🚧 Find city council districts
operationId: findCityCouncilDistricts
tags:
- City Council Districts
responses:
'200':
description: an object of city council districts
content:
application/json:
schema:
type: object
properties:
cityCouncilDistricts:
type: array
items:
$ref: '#/components/schemas/CityCouncilDistrict'
required:
- cityCouncilDistricts
'400':
$ref: '#/components/responses/BadRequest'
'500':
$ref: '#/components/responses/InternalServerError'
/city-council-districts/{cityCouncilDistrictId}/capital-projects:
get:
summary: 🚧 Find paginated capital projects within a specific city council district.
Expand Down

0 comments on commit 832b208

Please sign in to comment.