From b5e17f2c1df166505f563e2d3d7dea161aad4274 Mon Sep 17 00:00:00 2001 From: tinygrasshopper <451613+tinygrasshopper@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:01:42 +0000 Subject: [PATCH] docs: synchronizing api spec with user-docs --- docs/.gitbook/assets/rest-spec.json | 15 ++++----------- docs/snyk-api/rest-api/changelog.md | 6 ++++++ tools/api-docs-generator/sync-state.yml | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/docs/.gitbook/assets/rest-spec.json b/docs/.gitbook/assets/rest-spec.json index 05e00e9b7a67..5441b1d22b69 100644 --- a/docs/.gitbook/assets/rest-spec.json +++ b/docs/.gitbook/assets/rest-spec.json @@ -4306,14 +4306,6 @@ "attributes": { "$ref": "#/components/schemas/OrgInvitationPostAttributes" }, - "relationships": { - "properties": { - "org": { - "$ref": "#/components/schemas/Relationship" - } - }, - "type": "object" - }, "type": { "enum": [ "org_invitation" @@ -40456,9 +40448,10 @@ ], "x-snyk-api-releases": [ "2022-06-01", - "2023-04-28" + "2023-04-28", + "2024-06-21" ], - "x-snyk-api-version": "2023-04-28" + "x-snyk-api-version": "2024-06-21" }, "x-snyk-api-resource": "org_invitations" }, @@ -54949,5 +54942,5 @@ ], "x-optic-url": "https://app.useoptic.com/organizations/390ef489-882c-48ba-acb3-4e0b73e48767/apis/5Tz5UMTNEIuz5-FZ6J2ki", "x-snyk-api-lifecycle": "released", - "x-snyk-api-version": "2024-06-18" + "x-snyk-api-version": "2024-06-21" } \ No newline at end of file diff --git a/docs/snyk-api/rest-api/changelog.md b/docs/snyk-api/rest-api/changelog.md index a602133d4812..aa6f2ded626c 100644 --- a/docs/snyk-api/rest-api/changelog.md +++ b/docs/snyk-api/rest-api/changelog.md @@ -1,3 +1,9 @@ +## 2024-06-21 + +### POST - `/orgs/{org_id}/invites` - Updated +- removed the request property `data/relationships` +![Badge](https://img.shields.io/badge/Breaking-yellow) + ## 2024-06-18 ### POST - `/groups/{group_id}/settings/pull_request_template` - Updated diff --git a/tools/api-docs-generator/sync-state.yml b/tools/api-docs-generator/sync-state.yml index e159c9dedb99..2ac41c0e7050 100644 --- a/tools/api-docs-generator/sync-state.yml +++ b/tools/api-docs-generator/sync-state.yml @@ -1 +1 @@ -lastSyncedVersion: "2024-06-18" +lastSyncedVersion: "2024-06-21"