From 832b208746d1faef55ec25c8327b94d8b0a8d4ce Mon Sep 17 00:00:00 2001 From: horatio Date: Fri, 24 May 2024 12:40:23 -0400 Subject: [PATCH] 241 city council district endpoint documentation --- openapi/openapi.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index e9235734..113147e2 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -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.