parent
33d8189d2f
commit
703725e665
@ -1,6 +1,7 @@ |
||||
in: path |
||||
name: idFormation |
||||
schema: |
||||
type: number |
||||
type: integer |
||||
format: int64 |
||||
required: true |
||||
description: id formation |
@ -1,6 +1,7 @@ |
||||
in: path |
||||
name: idParticipationFormation |
||||
schema: |
||||
type: number |
||||
type: integer |
||||
format: int64 |
||||
required: true |
||||
description: id participation formation |
@ -1,16 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- collaborateurs |
||||
operationId: getProfilCollaborateurByMail |
||||
description: Récupérer un profil collaborateur par mail |
||||
parameters: |
||||
- $ref: ../../parameters/path/mail.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/collaborateur/getProfil.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -0,0 +1,16 @@ |
||||
get: |
||||
tags: |
||||
- referents |
||||
operationId: getReferentActuelCollaborateur |
||||
description: Récupérer le référent d'un collaborateur |
||||
parameters: |
||||
- $ref: ../../parameters/path/idCollaborateur.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/referent/getReferent.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -1,7 +1,7 @@ |
||||
get: |
||||
tags: |
||||
- referents |
||||
operationId: getReferentByCollaborateur |
||||
operationId: getReferentsByCollaborateur |
||||
description: Récupérer la liste des référents d'un collaborateur |
||||
parameters: |
||||
- $ref: ../../parameters/query/asc.yaml |
@ -1,5 +0,0 @@ |
||||
description: OK |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/collaborateur/profil.yaml |
@ -1,24 +0,0 @@ |
||||
type: object |
||||
description: Information utile à avoir lorsqu'un utilisateur se connecte |
||||
properties: |
||||
id: |
||||
type: string |
||||
format: uuid |
||||
nom: |
||||
type: string |
||||
prenom: |
||||
type: string |
||||
mailApside: |
||||
type: string |
||||
format: email |
||||
dateArrivee: |
||||
type: string |
||||
format: date-time |
||||
businessUnit: |
||||
$ref: ./businessUnit.yaml |
||||
required: |
||||
- id |
||||
- nom |
||||
- prenom |
||||
- mailApside |
||||
- businessunit |
Loading…
Reference in new issue