Renommage des fichiers pour la partie formation

master
jboinembalome 4 years ago
parent 134f00d991
commit e056cde317
  1. 73
      paths/formation/formationId.yaml
  2. 43
      responses/_index.yaml
  3. 5
      responses/formation/addFormation.yaml
  4. 0
      responses/formation/deleteFormation.yaml
  5. 1
      responses/formation/formationCreee.yaml

@ -1,73 +0,0 @@
get:
tags:
- formations
operationId: getFormationById
description: Récupérer une formation par son id
parameters:
- $ref: ../../parameters/path/idFormation.yaml
responses:
'200':
$ref: ../../responses/formation/getFormation.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
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
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml
'415':
$ref: ../../responses/erreur/unsupportedMediaType.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml
delete:
tags:
- formations
operationId: deleteFormation
description: Supprimer une formation
parameters:
- $ref: ../../parameters/path/idFormation.yaml
responses:
'204':
$ref: ../../responses/formation/formationSupprimee.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

@ -114,15 +114,35 @@ ReponseDemandeDelegationResponse:
$ref: ./demandedelegation/updateDemandeDelegation.yaml $ref: ./demandedelegation/updateDemandeDelegation.yaml
#DemandeFormation
DemandeFormationCreeeResponse:
$ref: ./demandeformation/addDemandeFormation.yaml
GetListeDemandesFormationResponse:
$ref: ./demandeformation/getListeDemandesFormation.yaml
GetListeOriginesDemandeFormationResponse:
$ref: ./demandeformation/getListeOriginesDemandeFormation.yaml
#GetListThemesResponse:
#$ref: ./demandeformation/getListeThemes.yaml
ReponseDemandeFormationResponse:
$ref: ./demandeformation/updateDemandeFormation.yaml
DemandeFormationSupprimmeeResponse:
$ref: ./demandeformation/deleteDemandeFormation.yaml
#Formation #Formation
FormationCreeeResponse: FormationCreeeResponse:
$ref: ./formation/formationCreee.yaml $ref: ./formation/addFormation.yaml
FormationEvalueeResponse: FormationEvalueeResponse:
$ref: ./formation/formationEvaluee.yaml $ref: ./formation/formationEvaluee.yaml
FormationSupprimeeResponse: FormationSupprimeeResponse:
$ref: ./formation/formationSupprimee.yaml $ref: ./formation/deleteFormation.yaml
GetEvaluationResponse: GetEvaluationResponse:
$ref: ./formation/getEvaluation.yaml $ref: ./formation/getEvaluation.yaml
@ -152,25 +172,6 @@ UpdateFormationResponse:
$ref: ./formation/updateFormation.yaml $ref: ./formation/updateFormation.yaml
#DemandeFormation
DemandeFormationCreeeResponse:
$ref: ./demandeformation/addDemandeFormation.yaml
GetListeDemandesFormationResponse:
$ref: ./demandeformation/getListeDemandesFormation.yaml
GetListeOriginesDemandeFormationResponse:
$ref: ./demandeformation/getListeOriginesDemandeFormation.yaml
#GetListThemesResponse:
#$ref: ./demandeformation/getListeThemes.yaml
ReponseDemandeFormationResponse:
$ref: ./demandeformation/updateDemandeFormation.yaml
DemandeFormationSupprimmeeResponse:
$ref: ./demandeformation/deleteDemandeFormation.yaml
#ReferentEP #ReferentEP
GetReferentResponse: GetReferentResponse:
$ref: ./referentep/updateReferentEP.yaml $ref: ./referentep/updateReferentEP.yaml

@ -0,0 +1,5 @@
description: Formation créée avec succès
content:
application/json:
schema:
$ref: ../../schemas/formation/formation.yaml

@ -1 +0,0 @@
description: Formation créée avec succès
Loading…
Cancel
Save