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 e2a5a67
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 e2a5a67

Please sign in to comment.