diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 89bfc0c1..bc68cf9b 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -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':