parent
f3dc59eac8
commit
b61d7cc635
@ -0,0 +1,48 @@ |
||||
put: |
||||
tags: |
||||
- demandesFormation |
||||
operationId: updateDemandeFormation |
||||
description: Répondre à une demande de formation. |
||||
parameters: |
||||
- $ref: ../../parameters/path/idDemandeFormation.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/demandeFormation.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeformation/updateDemandeFormation.yaml |
||||
|
||||
'401': |
||||
$ref: ../../responses/erreur/unauthorized.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
||||
|
||||
'500': |
||||
$ref: ../../responses/erreur/internalServerError.yaml |
||||
|
||||
delete: |
||||
tags: |
||||
- demandesFormation |
||||
operationId: deleteDemandeFormation |
||||
description: Supprimer une demande de formation. |
||||
parameters: |
||||
- $ref: ../../parameters/path/idDemandeFormation.yaml |
||||
responses: |
||||
'204': |
||||
$ref: ../../responses/demandeformation/deleteDemandeFormation.yaml |
||||
|
||||
'401': |
||||
$ref: ../../responses/erreur/unauthorized.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
||||
|
||||
'500': |
||||
$ref: ../../responses/erreur/internalServerError.yaml |
||||
|
@ -0,0 +1,17 @@ |
||||
get: |
||||
tags: |
||||
- demandesFormation |
||||
operationId: getOriginesDemandeFormation |
||||
description: Récupérer la liste des origines des demandes de formation. |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeformation/getListeOriginesDemandeFormation.yaml |
||||
|
||||
'401': |
||||
$ref: ../../responses/erreur/unauthorized.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'500': |
||||
$ref: ../../responses/erreur/internalServerError.yaml |
Loading…
Reference in new issue