parent
6af897613b
commit
33d8189d2f
@ -0,0 +1,18 @@ |
||||
put: |
||||
tags: |
||||
- demandesFormation |
||||
operationId: RepondreDemandeFormation |
||||
description: Répondre a une demande de formation et la mettre à jour |
||||
parameters: |
||||
- $ref: ../../parameters/path/idDemandeFormation.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/demandeFormation.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeformation/reponseDemandeFormation.yaml |
||||
|
||||
'201': |
||||
$ref: ../../responses/demandeformation/demandeFormationCreee.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -0,0 +1,15 @@ |
||||
put: |
||||
tags: |
||||
- engagements |
||||
operationId: repondreEngagement |
||||
description: Donnez une réponse à un engagement |
||||
parameters: |
||||
- $ref: ../../parameters/path/idEngagement.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/engagement.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/engagement/reponseEngagement.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -0,0 +1,13 @@ |
||||
delete: |
||||
tags: |
||||
- formations |
||||
operationId: deleteFormation |
||||
description: Supprimer une formation |
||||
parameters: |
||||
- $ref: ../../parameters/path/idFormation.yaml |
||||
responses: |
||||
'204': |
||||
$ref: ../../responses/formation/formationSupprimee.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -0,0 +1,18 @@ |
||||
put: |
||||
tags: |
||||
- formations |
||||
operationId: updateFormation |
||||
description: Mettre à jour une formation |
||||
parameters: |
||||
- $ref: ../../parameters/path/idFormation.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/formation.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/formation/updateFormation.yaml |
||||
|
||||
'201': |
||||
$ref: ../../responses/formation/formationCreee.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -1,29 +0,0 @@ |
||||
post: |
||||
tags: |
||||
- notes |
||||
operationId: nouvelleNote |
||||
description: Ajouter une nouvelle note |
||||
requestBody: |
||||
$ref: ../../requestbodies/note.yaml |
||||
responses: |
||||
'201': |
||||
$ref: ../../responses/note/noteCreee.yaml |
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
put: |
||||
tags: |
||||
- notes |
||||
operationId: updateNote |
||||
description: Mettre à jour une note |
||||
requestBody: |
||||
$ref: ../../requestbodies/note.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/note/updateNote.yaml |
||||
|
||||
'201': |
||||
$ref: ../../responses/note/noteCreee.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -0,0 +1,10 @@ |
||||
get: |
||||
tags: |
||||
- notes |
||||
operationId: getNotes |
||||
description: Récupérer toutes les notes |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/note/getListeNotes.yaml |
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -0,0 +1,12 @@ |
||||
post: |
||||
tags: |
||||
- notes |
||||
operationId: nouvelleNote |
||||
description: Ajouter une nouvelle note |
||||
requestBody: |
||||
$ref: ../../requestbodies/note.yaml |
||||
responses: |
||||
'201': |
||||
$ref: ../../responses/note/noteCreee.yaml |
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -0,0 +1,16 @@ |
||||
delete: |
||||
tags: |
||||
- notes |
||||
operationId: deleteNote |
||||
description: Supprimer une note |
||||
parameters: |
||||
- $ref: ../../parameters/path/idNote.yaml |
||||
responses: |
||||
'204': |
||||
$ref: ../../responses/note/noteSupprimee.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -0,0 +1,18 @@ |
||||
put: |
||||
tags: |
||||
- notes |
||||
operationId: updateNote |
||||
description: Mettre à jour une note |
||||
parameters: |
||||
- $ref: ../../parameters/path/idNote.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/note.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/note/updateNote.yaml |
||||
|
||||
'201': |
||||
$ref: ../../responses/note/noteCreee.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
Loading…
Reference in new issue