MAJ des urls pour les parties demandeDelegation et participationsFormation en fonction des spécifications techniques

master
Yanaël GRETTE 4 years ago
parent 49d322d647
commit 2920133ca8
  1. 21
      openapi.yaml
  2. 6
      paths/demandedelegation/demandeDelegationId.yaml
  3. 6
      paths/demandedelegation/demandeDelegationReferent.yaml
  4. 21
      paths/formation/participationByFormation.yaml
  5. 6
      paths/participationformation/evaluation.yaml
  6. 6
      paths/participationformation/evaluer.yaml
  7. 8
      paths/participationformation/participationsCollaborateur.yaml
  8. 4
      responses/formation/formationEvaluee.yaml

@ -39,7 +39,7 @@ paths:
$ref: ./paths/note/notesIdNote.yaml
#Referent
#ReferentEP
#/referents:
#$ref: ./paths/referents/referents.yaml
#/referents/{idReferent}:
@ -119,7 +119,6 @@ paths:
/demandedelegation/{idDemandeDelegation}:
$ref: ./paths/demandedelegation/demandeDelegationId.yaml
#DemandeFormation
/demandeformation:
$ref: ./paths/demandeformation/demandesFormation.yaml
@ -170,17 +169,13 @@ paths:
/typesFormation:
$ref: ./paths/formation/typesFormation.yaml
#ParticipationFormation
/participationsformation/collaborateur/{idCollaborateur}:
$ref: ./paths/formation/participationByCollaborateur.yaml
/participationsformation/formation/{idFormation}:
$ref: ./paths/formation/participationByFormation.yaml
#Evaluation
/evaluations/participationformation/{idParticipationFormation}:
$ref: ./paths/formation/voirEvaluation.yaml
/evaluations/participationformation/{idParticipationFormation}/evaluer:
$ref: ./paths/formation/evaluer.yaml
#ParticipationFormation et évaluation
/participations/{idCollaborateur}:
$ref: ./paths/participationformation/participationsCollaborateur.yaml
/participations/{idParticipationFormation}/evaluer:
$ref: ./paths/participationformation/evaluer.yaml
/participations/{idParticipationFormation}/evaluation:
$ref: ./paths/participationformation/evaluation.yaml
components:
schemas:

@ -11,8 +11,14 @@ put:
'200':
$ref: ../../responses/demandedelegation/reponseDemandeDelegation.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

@ -9,8 +9,14 @@ get:
'200':
$ref: ../../responses/demandedelegation/getListeDemandesDelegation.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

@ -1,21 +0,0 @@
get:
tags:
- participationsFormations
operationId: getParticipationByFormation
description: Récupérer la liste des participants d'une formation
parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/path/idFormation.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/formation/getListeParticipationsFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -9,8 +9,14 @@ get:
'200':
$ref: ../../responses/formation/getEvaluation.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

@ -11,8 +11,14 @@ put:
'200':
$ref: ../../responses/formation/formationEvaluee.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

@ -4,8 +4,8 @@ get:
operationId: getParticipationByCollaborateur
description: Récupérer la liste des formations auxquelles est inscrit le collaborateur
parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/path/idCollaborateur.yaml
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/query/numPage.yaml
- $ref: ../../parameters/query/parPage.yaml
- $ref: ../../parameters/query/texte.yaml
@ -14,8 +14,14 @@ get:
'200':
$ref: ../../responses/formation/getListeParticipationsFormation.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

@ -1 +1,5 @@
description: Evaluation envoyée avec succès
content:
application/json:
schema:
$ref: ../../schemas/formation/evaluation.yaml
Loading…
Cancel
Save