From 45f6bd567354952412935043687ccad33e255a1e 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 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 9fd257b8..13222c0f 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -88,7 +88,31 @@ paths: '404': $ref: "#/components/responses/NotFound" '500': - $ref: "#/components/responses/InternalServerError" + $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' /land-uses: get: summary: List land uses