Skip to content

Commit

Permalink
Added the /capital-projects/{managingCode}/{capitalProjectid} endpoint.
Browse files Browse the repository at this point in the history
Dynamically generate openapi site

Change the strategy for managing the open api static site.
Instead of committing at each change, remove from source control and
generate when running the API.

closes #273

Add CapitalProjectPage OpenAPI schema

Add capital projects in community district endpoint

Document capital projects in city council district endpoint

Added the /capital-projects/{managingCode}/{capitalProjectid} endpoint.
  • Loading branch information
TangoYankee authored and pratishta committed Jun 12, 2024
1 parent 9b50671 commit ed1d6da
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,22 @@ paths:
$ref: '#/components/schemas/CapitalCommitment'
required:
- capitalCommitments
/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':
Expand Down

0 comments on commit ed1d6da

Please sign in to comment.