Skip to content

Commit

Permalink
Document a capital project
Browse files Browse the repository at this point in the history
Add the /capital-projects/{managingCode}/{capitalProjectid} endpoint.

closes #238
  • Loading branch information
TangoYankee committed Jun 12, 2024
1 parent 1470d53 commit 95160cb
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 @@ -140,6 +140,28 @@ paths:
$ref: "#/components/responses/NotFound"
'500':
$ref: "#/components/responses/InternalServerError"
/capital-projects/{managingCode}/{capitalProjectId}:
get:
summary: 🚧 Find details about a specific capital project
operationId: findCapitalProjectByManagingCodeCapitalProjectId
tags:
- Capital Projects
parameters:
- $ref: "#/components/parameters/managingCodeParam"
- $ref: "#/components/parameters/capitalProjectIdParam"
responses:
'200':
description: An object of capital project details
content:
application/json:
schema:
$ref: '#/components/schemas/CapitalProjectBudgeted'
'400':
$ref: "#/components/responses/BadRequest"
'404':
$ref: "#/components/responses/NotFound"
'500':
$ref: "#/components/responses/InternalServerError"
/capital-projects/{z}/{x}/{y}.pbf:
get:
summary: Mapbox Vector Tiles for capital projects
Expand Down

0 comments on commit 95160cb

Please sign in to comment.