PMT-26 Define Endpoint
This commit is contained in:
parent
9fe23f3e90
commit
1db0eb9630
1 changed files with 23 additions and 0 deletions
23
api/pmt.yml
23
api/pmt.yml
|
@ -78,6 +78,8 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
responses:
|
responses:
|
||||||
|
Ok:
|
||||||
|
description: "OK"
|
||||||
Unauthorized:
|
Unauthorized:
|
||||||
description: "Unauthorized"
|
description: "Unauthorized"
|
||||||
NotFound:
|
NotFound:
|
||||||
|
@ -241,3 +243,24 @@ paths:
|
||||||
$ref: "#/components/responses/InternalError"
|
$ref: "#/components/responses/InternalError"
|
||||||
503:
|
503:
|
||||||
$ref: "#/components/responses/ServiceUnavailable"
|
$ref: "#/components/responses/ServiceUnavailable"
|
||||||
|
|
||||||
|
/project/{id}/employees:
|
||||||
|
get:
|
||||||
|
description: "getAllEmployees"
|
||||||
|
operationId: "Get a List of all Employees from a specific Project"
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: id
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
$ref: '#/components/responses/Ok'
|
||||||
|
404:
|
||||||
|
$ref: '#/components/responses/NotFound'
|
||||||
|
500:
|
||||||
|
$ref: "#/components/responses/InternalError"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue