From 9afde3ea50bf2804127f12e3c4454789fb0bf0bc Mon Sep 17 00:00:00 2001 From: suli-octo <129731991+suli-octo@users.noreply.github.com> Date: Thu, 28 Sep 2023 11:15:55 +0200 Subject: [PATCH] =?UTF-8?q?fix(offre-stage):=20slug=20optionnel=20car=20si?= =?UTF-8?q?non=20il=20faudrait=20le=20fournir=20dan=E2=80=A6=20(#208)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../offre-de-stage/content-types/offre-de-stage/schema.json | 2 +- .../documentation/1.0.0/full_documentation.json | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/api/offre-de-stage/content-types/offre-de-stage/schema.json b/src/api/offre-de-stage/content-types/offre-de-stage/schema.json index 5b295e25..3d0dbca0 100644 --- a/src/api/offre-de-stage/content-types/offre-de-stage/schema.json +++ b/src/api/offre-de-stage/content-types/offre-de-stage/schema.json @@ -22,7 +22,7 @@ }, "slug": { "type": "uid", - "required": true + "required": false }, "source": { "type": "enumeration", diff --git a/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/src/extensions/documentation/documentation/1.0.0/full_documentation.json index 4e4c5ac7..236cdfca 100644 --- a/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "MIT", "url": "https://github.com/DNUM-SocialGouv/1j1s-stage-orchestrateur-transform-load/blob/main/LICENSE" }, - "x-generation-date": "2023-09-19T08:40:22.653Z" + "x-generation-date": "2023-09-28T09:10:03.342Z" }, "x-strapi-config": { "path": "/documentation", @@ -5863,7 +5863,6 @@ "required": [ "identifiantSource", "titre", - "slug", "source", "description", "dateDeDebutMin", @@ -6000,7 +5999,6 @@ "required": [ "identifiantSource", "titre", - "slug", "source", "description", "dateDeDebutMin", @@ -14654,7 +14652,7 @@ }, "responses": { "200": { - "description": "Successfull registration", + "description": "Successful registration", "content": { "application/json": { "schema": {