From 729063d127427f5608e2ebf53323486ee7eb0602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yana=C3=ABl=20GRETTE?= Date: Tue, 8 Dec 2020 10:49:17 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9solution=20de=20probl=C3=A8mes=20de=20r?= =?UTF-8?q?=C3=A9f=C3=A9rencement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parameters/_index.yaml | 9 +++++++++ paths/collaborateur/collaborateursCount.yaml | 2 +- paths/collaborateur/collaborateursReferentCount.yaml | 2 +- paths/demandeepi/demandesEpiDemandeAssistant.yaml | 2 +- .../demandeepi/demandesEpiDemandeCollaborateur.yaml | 2 +- paths/demandeepi/demandesEpiDemandeReferent.yaml | 2 +- paths/formation/formationsCount.yaml | 2 +- responses/_index.yaml | 12 ++++++++++-- 8 files changed, 25 insertions(+), 8 deletions(-) diff --git a/parameters/_index.yaml b/parameters/_index.yaml index 537308c..a16df50 100644 --- a/parameters/_index.yaml +++ b/parameters/_index.yaml @@ -4,6 +4,9 @@ token: #PATH +idAuteur: + $ref: ./path/idAuteur.yaml + idCollaborateur: $ref: ./path/idCollaborateur.yaml @@ -54,6 +57,9 @@ dateDebut: dateFin: $ref: ./query/dateFin.yaml +epObligatoire: + $ref: ./query/epObligatoire.yaml + etatsEngagements: $ref: ./query/etatsEngagement.yaml @@ -75,6 +81,9 @@ idBUs: idCollaborateurs: $ref: ./query/idCollaborateurs.yaml +idStatuts: + $ref: ./query/idStatuts.yaml + numPage: $ref: ./query/numPage.yaml diff --git a/paths/collaborateur/collaborateursCount.yaml b/paths/collaborateur/collaborateursCount.yaml index ad4d372..f9abd62 100644 --- a/paths/collaborateur/collaborateursCount.yaml +++ b/paths/collaborateur/collaborateursCount.yaml @@ -15,7 +15,7 @@ get: - $ref: ../../parameters/query/dateFin.yaml responses: '200': - $ref: ../../responses/collaborateur/getcountcollaborateur.yaml + $ref: ../../responses/collaborateur/getCountCollaborateur.yaml '401': $ref: ../../responses/erreur/unauthorized.yaml diff --git a/paths/collaborateur/collaborateursReferentCount.yaml b/paths/collaborateur/collaborateursReferentCount.yaml index d572f93..0d0c7c9 100644 --- a/paths/collaborateur/collaborateursReferentCount.yaml +++ b/paths/collaborateur/collaborateursReferentCount.yaml @@ -12,7 +12,7 @@ get: - $ref: ../../parameters/query/tri.yaml responses: '200': - $ref: ../../responses/collaborateur/getcountcollaborateur.yaml + $ref: ../../responses/collaborateur/getCountCollaborateur.yaml '401': $ref: ../../responses/erreur/unauthorized.yaml diff --git a/paths/demandeepi/demandesEpiDemandeAssistant.yaml b/paths/demandeepi/demandesEpiDemandeAssistant.yaml index b17fc79..43a3e7e 100644 --- a/paths/demandeepi/demandesEpiDemandeAssistant.yaml +++ b/paths/demandeepi/demandesEpiDemandeAssistant.yaml @@ -4,7 +4,7 @@ post: operationId: addDemandeEpiAssistant description: Effectuer la création d’une demande d’EPI par l'assistant ou bien un responsable d'agence. requestBody: - $ref: ../../requestbodies/DemandeEpi.yaml + $ref: ../../requestbodies/demandeEPI.yaml responses: '201': $ref: ../../responses/demandeepi/addDemandeEPI.yaml diff --git a/paths/demandeepi/demandesEpiDemandeCollaborateur.yaml b/paths/demandeepi/demandesEpiDemandeCollaborateur.yaml index beb4bc2..93c4f0e 100644 --- a/paths/demandeepi/demandesEpiDemandeCollaborateur.yaml +++ b/paths/demandeepi/demandesEpiDemandeCollaborateur.yaml @@ -4,7 +4,7 @@ post: operationId: addDemandeEpiCollaborateur description: Effectuer la création d’une demande d’EPI par le collaborateur. requestBody: - $ref: ../../requestbodies/DemandeEpi.yaml + $ref: ../../requestbodies/demandeEPI.yaml responses: '201': $ref: ../../responses/demandeepi/addDemandeEPI.yaml diff --git a/paths/demandeepi/demandesEpiDemandeReferent.yaml b/paths/demandeepi/demandesEpiDemandeReferent.yaml index d299276..7c04926 100644 --- a/paths/demandeepi/demandesEpiDemandeReferent.yaml +++ b/paths/demandeepi/demandesEpiDemandeReferent.yaml @@ -4,7 +4,7 @@ post: operationId: addDemandeEpiReferent description: Effectuer la création d’une demande d’EPI par le référent. requestBody: - $ref: ../../requestbodies/DemandeEpi.yaml + $ref: ../../requestbodies/demandeEPI.yaml responses: '201': $ref: ../../responses/demandeepi/addDemandeEPI.yaml diff --git a/paths/formation/formationsCount.yaml b/paths/formation/formationsCount.yaml index 1f790fd..9377556 100644 --- a/paths/formation/formationsCount.yaml +++ b/paths/formation/formationsCount.yaml @@ -15,7 +15,7 @@ get: - $ref: ../../parameters/query/dateFin.yaml responses: '200': - $ref: ../../responses/formation/getcountformation.yaml + $ref: ../../responses/formation/getCountFormation.yaml '401': $ref: ../../responses/erreur/unauthorized.yaml diff --git a/responses/_index.yaml b/responses/_index.yaml index f18b740..3487450 100644 --- a/responses/_index.yaml +++ b/responses/_index.yaml @@ -11,14 +11,16 @@ InternalServerErrorResponse: Unauthorized: $ref: ./erreur/unauthorized.yaml +UnsupportedMediaType: + $ref: ./erreur/unsupportedMediaType.yaml #Collaborateur GetCollaborateurResponse: $ref: ./collaborateur/getCollaborateur.yaml -GetListecollaborateursResponse: +GetListeCollaborateursResponse: $ref: ./collaborateur/getListeCollaborateurs.yaml - + GetCountCollaborateurResponse: $ref: ./collaborateur/getCountCollaborateur.yaml @@ -50,6 +52,9 @@ DeleteEPResponse: DeleteEPCollaborateurResponse: $ref: ./ep/deleteEpCollaborateur.yaml +GetEPCount: + $ref: ./ep/getCountEp.yaml + GetEPResponse: $ref: ./ep/getEP.yaml @@ -144,6 +149,9 @@ FormationEvalueeResponse: FormationSupprimeeResponse: $ref: ./formation/deleteFormation.yaml +GetCountFormation: + $ref: ./formation/getCountFormation.yaml + GetEvaluationResponse: $ref: ./formation/getEvaluation.yaml