From 134f00d9912ee8538302431e8568d5a6b8053d52 Mon Sep 17 00:00:00 2001 From: jboinembalome Date: Mon, 7 Dec 2020 15:51:42 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20statut=20code=20415=20pour=20les?= =?UTF-8?q?=20requ=C3=AAte=20POST=20et=20PUT=20dans=20demandeDelegation=20?= =?UTF-8?q?et=20demandeFormation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demandesDelegationIdDemandeDelegation.yaml | 3 +++ .../demandeformation/demandesFormationIdDemandeFormation.yaml | 3 +++ paths/demandeformation/demandesformation.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/paths/demandedelegation/demandesDelegationIdDemandeDelegation.yaml b/paths/demandedelegation/demandesDelegationIdDemandeDelegation.yaml index 4cfa104..194accb 100644 --- a/paths/demandedelegation/demandesDelegationIdDemandeDelegation.yaml +++ b/paths/demandedelegation/demandesDelegationIdDemandeDelegation.yaml @@ -20,5 +20,8 @@ put: '404': $ref: ../../responses/erreur/notFound.yaml + '415': + $ref: ../../responses/erreur/unsupportedMediaType.yaml + '500': $ref: ../../responses/erreur/internalServerError.yaml \ No newline at end of file diff --git a/paths/demandeformation/demandesFormationIdDemandeFormation.yaml b/paths/demandeformation/demandesFormationIdDemandeFormation.yaml index f3a7331..99fec34 100644 --- a/paths/demandeformation/demandesFormationIdDemandeFormation.yaml +++ b/paths/demandeformation/demandesFormationIdDemandeFormation.yaml @@ -20,6 +20,9 @@ put: '404': $ref: ../../responses/erreur/notFound.yaml + '415': + $ref: ../../responses/erreur/unsupportedMediaType.yaml + '500': $ref: ../../responses/erreur/internalServerError.yaml diff --git a/paths/demandeformation/demandesformation.yaml b/paths/demandeformation/demandesformation.yaml index 63f091d..65d4c0d 100644 --- a/paths/demandeformation/demandesformation.yaml +++ b/paths/demandeformation/demandesformation.yaml @@ -43,5 +43,8 @@ post: '403': $ref: ../../responses/erreur/forbidden.yaml + '415': + $ref: ../../responses/erreur/unsupportedMediaType.yaml + '500': $ref: ../../responses/erreur/internalServerError.yaml \ No newline at end of file