From 4fb0089a188e213edae76c51f8bcea03eb9f89a2 Mon Sep 17 00:00:00 2001 From: jboinembalome Date: Tue, 1 Dec 2020 16:48:48 +0100 Subject: [PATCH] =?UTF-8?q?MAJ=20des=20urls=20pour=20la=20partie=20demande?= =?UTF-8?q?EPI=20en=20fonction=20des=20sp=C3=A9cifications=20techniques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openapi.yaml | 28 +++++------ parameters/query/etatsDemande.yaml | 1 + paths/demandeepi/annulerDemandeEPI.yaml | 16 ------ paths/demandeepi/creationEPI.yaml | 16 ------ paths/demandeepi/demandeAssistante.yaml | 16 ------ paths/demandeepi/demandeEPI.yaml | 16 ------ paths/demandeepi/demandeEPIEnCours.yaml | 16 ------ .../demandesEpiDemandeAssistant.yaml | 22 ++++++++ .../demandesEpiDemandeCollaborateur.yaml | 22 ++++++++ ...=> demandesEpiDemandeIdCollaborateur.yaml} | 10 +++- ...emandesEpiDemandeIdCollaborateurCount.yaml | 23 +++++++++ ...yaml => demandesEpiDemandeIdReferent.yaml} | 10 +++- .../demandesEpiDemandeIdReferentCount.yaml | 23 +++++++++ .../demandesEpiDemandeReferent.yaml | 22 ++++++++ paths/demandeepi/demandesEpiIdDemandeEpi.yaml | 50 +++++++++++++++++++ paths/demandeepi/reponseEPI.yaml | 18 ------- responses/_index.yaml | 48 ++++++++++++------ responses/demandeepi/demandeEPIAnnulee.yaml | 2 +- responses/demandeepi/demandeEPICreee.yaml | 6 ++- responses/demandeepi/epiCree.yaml | 1 - responses/demandeepi/getCountDemandeEPI.yaml | 7 +++ responses/demandeepi/getDemandeEPI.yaml | 5 -- responses/demandeepi/reponseDemandeEPI.yaml | 1 - responses/demandeepi/updateDemandeEPI.yaml | 5 ++ 24 files changed, 244 insertions(+), 140 deletions(-) delete mode 100644 paths/demandeepi/annulerDemandeEPI.yaml delete mode 100644 paths/demandeepi/creationEPI.yaml delete mode 100644 paths/demandeepi/demandeAssistante.yaml delete mode 100644 paths/demandeepi/demandeEPI.yaml delete mode 100644 paths/demandeepi/demandeEPIEnCours.yaml create mode 100644 paths/demandeepi/demandesEpiDemandeAssistant.yaml create mode 100644 paths/demandeepi/demandesEpiDemandeCollaborateur.yaml rename paths/demandeepi/{demandesEPICollaborateur.yaml => demandesEpiDemandeIdCollaborateur.yaml} (57%) create mode 100644 paths/demandeepi/demandesEpiDemandeIdCollaborateurCount.yaml rename paths/demandeepi/{demandesEPIReferent.yaml => demandesEpiDemandeIdReferent.yaml} (56%) create mode 100644 paths/demandeepi/demandesEpiDemandeIdReferentCount.yaml create mode 100644 paths/demandeepi/demandesEpiDemandeReferent.yaml create mode 100644 paths/demandeepi/demandesEpiIdDemandeEpi.yaml delete mode 100644 paths/demandeepi/reponseEPI.yaml delete mode 100644 responses/demandeepi/epiCree.yaml create mode 100644 responses/demandeepi/getCountDemandeEPI.yaml delete mode 100644 responses/demandeepi/getDemandeEPI.yaml delete mode 100644 responses/demandeepi/reponseDemandeEPI.yaml create mode 100644 responses/demandeepi/updateDemandeEPI.yaml diff --git a/openapi.yaml b/openapi.yaml index a3a9156..e873288 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -96,22 +96,22 @@ paths: $ref: ./paths/engagement/engagementsIdEngagement.yaml #DemandeEPI + /demandesepi/{idDemandeEPI}: + $ref: ./paths/demandeepi/demandesEpiIdDemandeEpi.yaml /demandesepi/collaborateur/{idCollaborateur}: - $ref: ./paths/demandeepi/demandesEPICollaborateur.yaml - /demandesepi/collaborateur/{idCollaborateur}/enCours: - $ref: ./paths/demandeepi/demandeEPIEnCours.yaml - /demandesepi/collaborateur/{idCollaborateur}/demande: - $ref: ./paths/demandeepi/demandeEPI.yaml + $ref: ./paths/demandeepi/demandesEpiDemandeIdCollaborateur.yaml + /demandesepi/collaborateur/{idCollaborateur}/count: + $ref: ./paths/demandeepi/demandesEpiDemandeIdCollaborateurCount.yaml + /demandesepi/demande/assistant: + $ref: ./paths/demandeepi/demandesEpiDemandeAssistant.yaml + /demandesepi/demande/collaborateur: + $ref: ./paths/demandeepi/demandesEpiDemandeCollaborateur.yaml + /demandesepi/demande/referent: + $ref: ./paths/demandeepi/demandesEpiDemandeReferent.yaml /demandesepi/referent/{idReferent}: - $ref: ./paths/demandeepi/demandesEPIReferent.yaml - /demandesepi/referent/{idReferent}/demande/{idCollaborateur}: - $ref: ./paths/demandeepi/creationEPI.yaml - /demandesepi/{idDemandeEPI}/repondre: - $ref: ./paths/demandeepi/reponseEPI.yaml - /demandesepi/{idDemandeEPI}/annuler: - $ref: ./paths/demandeepi/annulerDemandeEPI.yaml - /demandesepi/demandeassistante/{idCollaborateur}: - $ref: ./paths/demandeepi/demandeAssistante.yaml + $ref: ./paths/demandeepi/demandesEpiDemandeIdReferent.yaml + /demandesepi/referent/{idReferent}/count: + $ref: ./paths/demandeepi/demandesEpiDemandeIdReferentCount.yaml #DemandeDelegation /demandesdelegation/{idCollaborateur}: diff --git a/parameters/query/etatsDemande.yaml b/parameters/query/etatsDemande.yaml index f81e70d..d986ee1 100644 --- a/parameters/query/etatsDemande.yaml +++ b/parameters/query/etatsDemande.yaml @@ -4,5 +4,6 @@ schema: type: array items: $ref: ../../schemas/enum/etatDemande.yaml + default: null required: false description: Liste des états des demandes à afficher \ No newline at end of file diff --git a/paths/demandeepi/annulerDemandeEPI.yaml b/paths/demandeepi/annulerDemandeEPI.yaml deleted file mode 100644 index 64b7d0c..0000000 --- a/paths/demandeepi/annulerDemandeEPI.yaml +++ /dev/null @@ -1,16 +0,0 @@ -get: - tags: - - demandesEPI - operationId: annulerDemandeEPI - description: Annuler la demande d'EPI - parameters: - - $ref: ../../parameters/path/idDemandeEPI.yaml - responses: - '200': - $ref: ../../responses/demandeepi/demandeEPIAnnulee.yaml - - '403': - $ref: ../../responses/erreur/forbidden.yaml - - '404': - $ref: ../../responses/erreur/notFound.yaml \ No newline at end of file diff --git a/paths/demandeepi/creationEPI.yaml b/paths/demandeepi/creationEPI.yaml deleted file mode 100644 index 012b812..0000000 --- a/paths/demandeepi/creationEPI.yaml +++ /dev/null @@ -1,16 +0,0 @@ -get: - tags: - - demandesEPI - operationId: createEPI - description: Lancer la procedure pour un entretien professionnel intermediaire, une demande d'EPI validée est créé par la même occasion - parameters: - - $ref: ../../parameters/path/idCollaborateur.yaml - - $ref: ../../parameters/path/idReferent.yaml - responses: - '200': - $ref: ../../responses/demandeepi/epiCree.yaml - '403': - $ref: ../../responses/erreur/forbidden.yaml - - '404': - $ref: ../../responses/erreur/notFound.yaml \ No newline at end of file diff --git a/paths/demandeepi/demandeAssistante.yaml b/paths/demandeepi/demandeAssistante.yaml deleted file mode 100644 index f1df769..0000000 --- a/paths/demandeepi/demandeAssistante.yaml +++ /dev/null @@ -1,16 +0,0 @@ -get: - tags: - - demandesEPI - operationId: demandeEPIAssistante - description: Demande d'EPI et par l'assistant et création automatique de l'EPI - parameters: - - $ref: ../../parameters/path/idCollaborateur.yaml - responses: - '200': - $ref: ../../responses/demandeepi/epiCree.yaml - - '403': - $ref: ../../responses/erreur/forbidden.yaml - - '404': - $ref: ../../responses/erreur/notFound.yaml \ No newline at end of file diff --git a/paths/demandeepi/demandeEPI.yaml b/paths/demandeepi/demandeEPI.yaml deleted file mode 100644 index 3cf67b7..0000000 --- a/paths/demandeepi/demandeEPI.yaml +++ /dev/null @@ -1,16 +0,0 @@ -get: - tags: - - demandesEPI - operationId: demandeEPI - description: Demande d'EPI par un collaborateur - parameters: - - $ref: ../../parameters/path/idCollaborateur.yaml - responses: - '200': - $ref: ../../responses/demandeepi/demandeEPICreee.yaml - - '403': - $ref: ../../responses/erreur/forbidden.yaml - - '404': - $ref: ../../responses/erreur/notFound.yaml \ No newline at end of file diff --git a/paths/demandeepi/demandeEPIEnCours.yaml b/paths/demandeepi/demandeEPIEnCours.yaml deleted file mode 100644 index 471ddd2..0000000 --- a/paths/demandeepi/demandeEPIEnCours.yaml +++ /dev/null @@ -1,16 +0,0 @@ -get: - tags: - - demandesEPI - operationId: getDemandeEPIEnCours - description: Récupération de l'EPI en cours d'un collaborateur - parameters: - - $ref: ../../parameters/path/idCollaborateur.yaml - responses: - '200': - $ref: ../../responses/demandeepi/getDemandeEPI.yaml - - '403': - $ref: ../../responses/erreur/forbidden.yaml - - '404': - $ref: ../../responses/erreur/notFound.yaml \ No newline at end of file diff --git a/paths/demandeepi/demandesEpiDemandeAssistant.yaml b/paths/demandeepi/demandesEpiDemandeAssistant.yaml new file mode 100644 index 0000000..5d25ed1 --- /dev/null +++ b/paths/demandeepi/demandesEpiDemandeAssistant.yaml @@ -0,0 +1,22 @@ +post: + tags: + - demandesEPI + operationId: addDemandeEpiAssistant + description: Effectuer la création d’une demande d’EPI par l'assistant. + requestBody: + $ref: ../../requestbodies/DemandeEpi.yaml + responses: + '201': + $ref: ../../responses/demandeepi/demandeEPICreee.yaml + + '401': + $ref: ../../responses/erreur/unauthorized.yaml + + '403': + $ref: ../../responses/erreur/forbidden.yaml + + '415': + $ref: ../../responses/erreur/unsupportedMediaType.yaml + + '500': + $ref: ../../responses/erreur/internalServerError.yaml \ No newline at end of file diff --git a/paths/demandeepi/demandesEpiDemandeCollaborateur.yaml b/paths/demandeepi/demandesEpiDemandeCollaborateur.yaml new file mode 100644 index 0000000..3e44937 --- /dev/null +++ b/paths/demandeepi/demandesEpiDemandeCollaborateur.yaml @@ -0,0 +1,22 @@ +post: + tags: + - demandesEPI + operationId: addDemandeEpiCollaborateur + description: Effectuer la création d’une demande d’EPI par le collaborateur. + requestBody: + $ref: ../../requestbodies/DemandeEpi.yaml + responses: + '201': + $ref: ../../responses/demandeepi/demandeEPICreee.yaml + + '401': + $ref: ../../responses/erreur/unauthorized.yaml + + '403': + $ref: ../../responses/erreur/forbidden.yaml + + '415': + $ref: ../../responses/erreur/unsupportedMediaType.yaml + + '500': + $ref: ../../responses/erreur/internalServerError.yaml \ No newline at end of file diff --git a/paths/demandeepi/demandesEPICollaborateur.yaml b/paths/demandeepi/demandesEpiDemandeIdCollaborateur.yaml similarity index 57% rename from paths/demandeepi/demandesEPICollaborateur.yaml rename to paths/demandeepi/demandesEpiDemandeIdCollaborateur.yaml index 2f4acb7..356d477 100644 --- a/paths/demandeepi/demandesEPICollaborateur.yaml +++ b/paths/demandeepi/demandesEpiDemandeIdCollaborateur.yaml @@ -2,7 +2,7 @@ get: tags: - demandesEPI operationId: getDemandeEPICollaborateur - description: Récupération de la liste des demandes EPI d'un collaborateur + description: Récupérer la liste des demandes d’EPI d’un collaborateur. parameters: - $ref: ../../parameters/path/idCollaborateur.yaml - $ref: ../../parameters/query/etatsDemande.yaml @@ -10,8 +10,14 @@ get: '200': $ref: ../../responses/demandeepi/getListeDemandesEPI.yaml + '401': + $ref: ../../responses/erreur/unauthorized.yaml + '403': $ref: ../../responses/erreur/forbidden.yaml '404': - $ref: ../../responses/erreur/notFound.yaml \ No newline at end of file + $ref: ../../responses/erreur/notFound.yaml + + '500': + $ref: ../../responses/erreur/internalServerError.yaml \ No newline at end of file diff --git a/paths/demandeepi/demandesEpiDemandeIdCollaborateurCount.yaml b/paths/demandeepi/demandesEpiDemandeIdCollaborateurCount.yaml new file mode 100644 index 0000000..5e47c6c --- /dev/null +++ b/paths/demandeepi/demandesEpiDemandeIdCollaborateurCount.yaml @@ -0,0 +1,23 @@ +get: + tags: + - demandesEPI + operationId: getDemandeEPICollaborateurCount + description: Récupérer le nombre total de demandes d’EPI d’un collaborateur. + parameters: + - $ref: ../../parameters/path/idCollaborateur.yaml + - $ref: ../../parameters/query/etatsDemande.yaml + responses: + '200': + $ref: ../../responses/demandeepi/getCountDemandeEPI.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 \ No newline at end of file diff --git a/paths/demandeepi/demandesEPIReferent.yaml b/paths/demandeepi/demandesEpiDemandeIdReferent.yaml similarity index 56% rename from paths/demandeepi/demandesEPIReferent.yaml rename to paths/demandeepi/demandesEpiDemandeIdReferent.yaml index 964e753..20282ef 100644 --- a/paths/demandeepi/demandesEPIReferent.yaml +++ b/paths/demandeepi/demandesEpiDemandeIdReferent.yaml @@ -2,7 +2,7 @@ get: tags: - demandesEPI operationId: getDemandeEPIReferent - description: Récupération de la liste des demandes EPI d'un referent + description: Récupérer la liste des demandes d’EPI qu’un référent a reçu. parameters: - $ref: ../../parameters/path/idReferent.yaml - $ref: ../../parameters/query/etatsDemande.yaml @@ -10,8 +10,14 @@ get: '200': $ref: ../../responses/demandeepi/getListeDemandesEPI.yaml + '401': + $ref: ../../responses/erreur/unauthorized.yaml + '403': $ref: ../../responses/erreur/forbidden.yaml '404': - $ref: ../../responses/erreur/notFound.yaml \ No newline at end of file + $ref: ../../responses/erreur/notFound.yaml + + '500': + $ref: ../../responses/erreur/internalServerError.yaml \ No newline at end of file diff --git a/paths/demandeepi/demandesEpiDemandeIdReferentCount.yaml b/paths/demandeepi/demandesEpiDemandeIdReferentCount.yaml new file mode 100644 index 0000000..4f482a0 --- /dev/null +++ b/paths/demandeepi/demandesEpiDemandeIdReferentCount.yaml @@ -0,0 +1,23 @@ +get: + tags: + - demandesEPI + operationId: getDemandeEPIReferentCount + description: Récupérer le nombre total de demandes d’EPI qu’un référent a reçu. + parameters: + - $ref: ../../parameters/path/idReferent.yaml + - $ref: ../../parameters/query/etatsDemande.yaml + responses: + '200': + $ref: ../../responses/demandeepi/getCountDemandeEPI.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 \ No newline at end of file diff --git a/paths/demandeepi/demandesEpiDemandeReferent.yaml b/paths/demandeepi/demandesEpiDemandeReferent.yaml new file mode 100644 index 0000000..102b7ce --- /dev/null +++ b/paths/demandeepi/demandesEpiDemandeReferent.yaml @@ -0,0 +1,22 @@ +post: + tags: + - demandesEPI + operationId: addDemandeEpiReferent + description: Effectuer la création d’une demande d’EPI par le référent. + requestBody: + $ref: ../../requestbodies/DemandeEpi.yaml + responses: + '201': + $ref: ../../responses/demandeepi/demandeEPICreee.yaml + + '401': + $ref: ../../responses/erreur/unauthorized.yaml + + '403': + $ref: ../../responses/erreur/forbidden.yaml + + '415': + $ref: ../../responses/erreur/unsupportedMediaType.yaml + + '500': + $ref: ../../responses/erreur/internalServerError.yaml \ No newline at end of file diff --git a/paths/demandeepi/demandesEpiIdDemandeEpi.yaml b/paths/demandeepi/demandesEpiIdDemandeEpi.yaml new file mode 100644 index 0000000..e491377 --- /dev/null +++ b/paths/demandeepi/demandesEpiIdDemandeEpi.yaml @@ -0,0 +1,50 @@ +put: + tags: + - demandesEPI + operationId: updateDemandeEPI + description: Répondre à une demande d’EPI. + parameters: + - $ref: ../../parameters/path/idDemandeEPI.yaml + requestBody: + $ref: ../../requestbodies/demandeEPI.yaml + responses: + '200': + $ref: ../../responses/demandeepi/updateDemandeEPI.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: + - demandesEPI + operationId: deleteDemandeEPI + description: Annuler une demande d’EPI. + parameters: + - $ref: ../../parameters/path/idDemandeEPI.yaml + responses: + '204': + $ref: ../../responses/demandeepi/demandeEPIAnnulee.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 + diff --git a/paths/demandeepi/reponseEPI.yaml b/paths/demandeepi/reponseEPI.yaml deleted file mode 100644 index 7bc2138..0000000 --- a/paths/demandeepi/reponseEPI.yaml +++ /dev/null @@ -1,18 +0,0 @@ -put: - tags: - - demandesEPI - operationId: repondreDemandeEPI - description: Répondre à une demande EPI en attente - parameters: - - $ref: ../../parameters/path/idDemandeEPI.yaml - requestBody: - $ref: ../../requestbodies/demandeEPI.yaml - responses: - '200': - $ref: ../../responses/demandeepi/reponseDemandeEPI.yaml - - '403': - $ref: ../../responses/erreur/forbidden.yaml - - '404': - $ref: ../../responses/erreur/notFound.yaml \ No newline at end of file diff --git a/responses/_index.yaml b/responses/_index.yaml index 1fd5073..0693ab6 100644 --- a/responses/_index.yaml +++ b/responses/_index.yaml @@ -19,6 +19,9 @@ GetCollaborateurResponse: GetListecollaborateursResponse: $ref: ./collaborateur/getListeCollaborateurs.yaml +GetCountCollaborateurResponse: + $ref: ./collaborateur/getCountCollaborateur.yaml + #Note GetListeNoteResponse: @@ -36,12 +39,21 @@ NoteSupprimerResponse: updateNoteResponse: $ref: ./note/updateNote.yaml +GetCountNoteResponse: + $ref: ./note/getCountNote.yaml + #EP +DeleteEPResponse: + $ref: ./ep/deleteEp.yaml + +DeleteEPCollaborateurResponse: + $ref: ./ep/deleteEpCollaborateur.yaml + GetEPResponse: $ref: ./ep/getEP.yaml -GetListeEPResponse: +GetListeEPInformationResponse: $ref: ./ep/getListeEpInformation.yaml GetListeParticipantsResponse: @@ -59,6 +71,23 @@ SaisirProchainEPResponse: UpdateEPResponse: $ref: ./ep/updateEP.yaml +UpdateSaisieEPResponse: + $ref: ./ep/updateSaisieEP.yaml + +GetCountEPResponse: + $ref: ./ep/getCountEP.yaml + + +#Engagement +GetListeEngagementsReponse: + $ref: ./engagement/getListeEngagements.yaml + +GetCountEngagementResponse: + $ref: ./engagement/getCountEngagement.yaml + +ReponseEngagementReponse: + $ref: ./engagement/updateEngagement.yaml + #DemandeEPI DemandeEPIAnnuleeReponse: @@ -67,25 +96,14 @@ DemandeEPIAnnuleeReponse: DemandeEPICreeeResponse: $ref: ./demandeepi/demandeEPICreee.yaml -EPICreeReponse: - $ref: ./demandeepi/epiCree.yaml - -GetDemandeEPIResponse: - $ref: ./demandeepi/getDemandeEPI.yaml - GetListeDemandesEPIResponse: $ref: ./demandeepi/getListeDemandesEPI.yaml ReponseEPIReponse: - $ref: ./demandeepi/reponseDemandeEPI.yaml - + $ref: ./demandeepi/updateDemandeEPI.yaml -#Engagement -GetListeEngagementsReponse: - $ref: ./engagement/getListeEngagements.yaml - -ReponseEngagementReponse: - $ref: ./engagement/updateEngagement.yaml +GetCountDemandeEPIResponse: + $ref: ./demandeepi/getCountDemandeEPI.yaml #DemandeDelegation diff --git a/responses/demandeepi/demandeEPIAnnulee.yaml b/responses/demandeepi/demandeEPIAnnulee.yaml index a3f64fd..3156ee6 100644 --- a/responses/demandeepi/demandeEPIAnnulee.yaml +++ b/responses/demandeepi/demandeEPIAnnulee.yaml @@ -1 +1 @@ -description: demande d'EPI annulée \ No newline at end of file +description: Demande annulée \ No newline at end of file diff --git a/responses/demandeepi/demandeEPICreee.yaml b/responses/demandeepi/demandeEPICreee.yaml index f8a2f72..2742ce5 100644 --- a/responses/demandeepi/demandeEPICreee.yaml +++ b/responses/demandeepi/demandeEPICreee.yaml @@ -1 +1,5 @@ -description: demande d'EPI effectuée \ No newline at end of file +description: Demande d'EPI créée avec succès +content: + application/json: + schema: + $ref: ../../schemas/demandeepi/demandeEPI.yaml \ No newline at end of file diff --git a/responses/demandeepi/epiCree.yaml b/responses/demandeepi/epiCree.yaml deleted file mode 100644 index 63858e8..0000000 --- a/responses/demandeepi/epiCree.yaml +++ /dev/null @@ -1 +0,0 @@ -description: Demande d'EPI créée avec l'EPI correspondant \ No newline at end of file diff --git a/responses/demandeepi/getCountDemandeEPI.yaml b/responses/demandeepi/getCountDemandeEPI.yaml new file mode 100644 index 0000000..29cdbbb --- /dev/null +++ b/responses/demandeepi/getCountDemandeEPI.yaml @@ -0,0 +1,7 @@ +description: OK +content: + application/json: + schema: + type: integer + format: int64 + description: Nombre total de demandes d'EPI \ No newline at end of file diff --git a/responses/demandeepi/getDemandeEPI.yaml b/responses/demandeepi/getDemandeEPI.yaml deleted file mode 100644 index 01ac918..0000000 --- a/responses/demandeepi/getDemandeEPI.yaml +++ /dev/null @@ -1,5 +0,0 @@ -description: OK -content: - application/json: - schema: - $ref: ../../schemas/demandeepi/demandeEPI.yaml \ No newline at end of file diff --git a/responses/demandeepi/reponseDemandeEPI.yaml b/responses/demandeepi/reponseDemandeEPI.yaml deleted file mode 100644 index 9115c19..0000000 --- a/responses/demandeepi/reponseDemandeEPI.yaml +++ /dev/null @@ -1 +0,0 @@ -description: Réponse à la demande d'EPI envoyée \ No newline at end of file diff --git a/responses/demandeepi/updateDemandeEPI.yaml b/responses/demandeepi/updateDemandeEPI.yaml new file mode 100644 index 0000000..26d4f88 --- /dev/null +++ b/responses/demandeepi/updateDemandeEPI.yaml @@ -0,0 +1,5 @@ +description: Demande mise à jour +content: + application/json: + schema: + $ref: ../../schemas/demandeepi/demandeEPI.yaml \ No newline at end of file