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. 8
      paths/demandedelegation/demandeDelegationId.yaml
  3. 8
      paths/demandedelegation/demandeDelegationReferent.yaml
  4. 21
      paths/formation/participationByFormation.yaml
  5. 8
      paths/participationformation/evaluation.yaml
  6. 8
      paths/participationformation/evaluer.yaml
  7. 10
      paths/participationformation/participationsCollaborateur.yaml
  8. 6
      responses/formation/formationEvaluee.yaml

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

@ -11,8 +11,14 @@ put:
'200': '200':
$ref: ../../responses/demandedelegation/reponseDemandeDelegation.yaml $ref: ../../responses/demandedelegation/reponseDemandeDelegation.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403': '403':
$ref: ../../responses/erreur/forbidden.yaml $ref: ../../responses/erreur/forbidden.yaml
'404': '404':
$ref: ../../responses/erreur/notFound.yaml $ref: ../../responses/erreur/notFound.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml

@ -9,8 +9,14 @@ get:
'200': '200':
$ref: ../../responses/demandedelegation/getListeDemandesDelegation.yaml $ref: ../../responses/demandedelegation/getListeDemandesDelegation.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403': '403':
$ref: ../../responses/erreur/forbidden.yaml $ref: ../../responses/erreur/forbidden.yaml
'404': '404':
$ref: ../../responses/erreur/notFound.yaml $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': '200':
$ref: ../../responses/formation/getEvaluation.yaml $ref: ../../responses/formation/getEvaluation.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403': '403':
$ref: ../../responses/erreur/forbidden.yaml $ref: ../../responses/erreur/forbidden.yaml
'404': '404':
$ref: ../../responses/erreur/notFound.yaml $ref: ../../responses/erreur/notFound.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml

@ -11,8 +11,14 @@ put:
'200': '200':
$ref: ../../responses/formation/formationEvaluee.yaml $ref: ../../responses/formation/formationEvaluee.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403': '403':
$ref: ../../responses/erreur/forbidden.yaml $ref: ../../responses/erreur/forbidden.yaml
'404': '404':
$ref: ../../responses/erreur/notFound.yaml $ref: ../../responses/erreur/notFound.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml

@ -4,8 +4,8 @@ get:
operationId: getParticipationByCollaborateur operationId: getParticipationByCollaborateur
description: Récupérer la liste des formations auxquelles est inscrit le collaborateur description: Récupérer la liste des formations auxquelles est inscrit le collaborateur
parameters: parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/path/idCollaborateur.yaml - $ref: ../../parameters/path/idCollaborateur.yaml
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/query/numPage.yaml - $ref: ../../parameters/query/numPage.yaml
- $ref: ../../parameters/query/parPage.yaml - $ref: ../../parameters/query/parPage.yaml
- $ref: ../../parameters/query/texte.yaml - $ref: ../../parameters/query/texte.yaml
@ -14,8 +14,14 @@ get:
'200': '200':
$ref: ../../responses/formation/getListeParticipationsFormation.yaml $ref: ../../responses/formation/getListeParticipationsFormation.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403': '403':
$ref: ../../responses/erreur/forbidden.yaml $ref: ../../responses/erreur/forbidden.yaml
'404': '404':
$ref: ../../responses/erreur/notFound.yaml $ref: ../../responses/erreur/notFound.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml

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