Skip to content

Commit

Permalink
Merge pull request #321 from snyk/docs/automatic-api-docs-update
Browse files Browse the repository at this point in the history
Generate API docs from spec
  • Loading branch information
mikeromard authored Jun 24, 2024
2 parents 938ee24 + b5e17f2 commit 02a5878
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
15 changes: 4 additions & 11 deletions docs/.gitbook/assets/rest-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -4306,14 +4306,6 @@
"attributes": {
"$ref": "#/components/schemas/OrgInvitationPostAttributes"
},
"relationships": {
"properties": {
"org": {
"$ref": "#/components/schemas/Relationship"
}
},
"type": "object"
},
"type": {
"enum": [
"org_invitation"
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
}
6 changes: 6 additions & 0 deletions docs/snyk-api/rest-api/changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/api-docs-generator/sync-state.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lastSyncedVersion: "2024-06-18"
lastSyncedVersion: "2024-06-21"

0 comments on commit 02a5878

Please sign in to comment.