PMT-26 Define Endpoint
This commit is contained in:
parent
8574e32e34
commit
f941cad4b9
1 changed files with 23 additions and 0 deletions
23
api/pmt.yml
23
api/pmt.yml
|
@ -78,6 +78,8 @@ components:
|
|||
type: integer
|
||||
format: int64
|
||||
responses:
|
||||
Ok:
|
||||
description: "OK"
|
||||
Unauthorized:
|
||||
description: "Unauthorized"
|
||||
NotFound:
|
||||
|
@ -210,3 +212,24 @@ paths:
|
|||
type: string
|
||||
500:
|
||||
$ref: "#/components/responses/InternalError"
|
||||
|
||||
/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