parent
4fb0089a18
commit
49d322d647
@ -0,0 +1,16 @@ |
||||
get: |
||||
tags: |
||||
- demandesDelegation |
||||
operationId: getDemandesDelegation |
||||
description: Récupération de la liste des demandes de délégation |
||||
parameters: |
||||
- $ref: ../../parameters/path/idReferent.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandedelegation/getListeDemandesDelegation.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -1,22 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- demandesDelegation |
||||
operationId: getDemandesDelegation |
||||
description: Récupération de la liste des demandes de délégation |
||||
parameters: |
||||
- $ref: ../../parameters/query/asc.yaml |
||||
- $ref: ../../parameters/query/roles.yaml |
||||
- $ref: ../../parameters/path/idCollaborateur.yaml |
||||
- $ref: ../../parameters/query/numPage.yaml |
||||
- $ref: ../../parameters/query/parPage.yaml |
||||
- $ref: ../../parameters/query/texte.yaml |
||||
- $ref: ../../parameters/query/tri.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandedelegation/getListeDemandesDelegation.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -1,17 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- demandesDelegation |
||||
operationId: faireDemandeDelegation |
||||
description: Faire une demande de délégation à une autre personne |
||||
parameters: |
||||
- $ref: ../../parameters/path/idCollaborateur.yaml |
||||
- $ref: ../../parameters/path/idEP.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandedelegation/demandeDelegationCreee.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -1 +1,5 @@ |
||||
description: Réponse demande de délagation envoyée avec succès |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/demandedelegation/demandeDelegation.yaml |
Loading…
Reference in new issue