Skip to content

Commit

Permalink
fix: Update JSON API docs
Browse files Browse the repository at this point in the history
finish the updating links to correct ones in sweater comb

cleanup fmt
  • Loading branch information
acunniffe authored and cmars committed Feb 16, 2022
1 parent 01cf103 commit 566cad1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export const links = {
resourceObjects: "https://jsonapi.org/format/#document-resource-objects",
resourceObjectLinks:
"https://jsonapi.org/format/#document-resource-object-links",
pagination: "https://jsonapi.org/format/#fetching-pagination",
pagination:
"https://github.com/snyk/sweater-comb/blob/main/docs/jsonapi.md#pagination-parameters",
compoundDocuments:
"https://github.com/snyk/sweater-comb/blob/main/docs/jsonapi.md#compound-documents",
},
Expand Down
10 changes: 5 additions & 5 deletions src/rulesets/tests/__snapshots__/end-end.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -74416,7 +74416,7 @@ Array [
Object {
"change": null,
"condition": "correctly support pagination",
"docsLink": "https://jsonapi.org/format/#fetching-pagination",
"docsLink": "https://github.com/snyk/sweater-comb/blob/main/docs/jsonapi.md#pagination-parameters",
"effectiveOnDate": undefined,
"error": "expected operation /orgs/{org_id}/thing2 get to include starting_after parameter",
"isMust": true,
Expand All @@ -74435,7 +74435,7 @@ Array [
Object {
"change": null,
"condition": "correctly support pagination",
"docsLink": "https://jsonapi.org/format/#fetching-pagination",
"docsLink": "https://github.com/snyk/sweater-comb/blob/main/docs/jsonapi.md#pagination-parameters",
"effectiveOnDate": undefined,
"isMust": true,
"isShould": false,
Expand All @@ -74453,7 +74453,7 @@ Array [
Object {
"change": null,
"condition": "correctly support pagination",
"docsLink": "https://jsonapi.org/format/#fetching-pagination",
"docsLink": "https://github.com/snyk/sweater-comb/blob/main/docs/jsonapi.md#pagination-parameters",
"effectiveOnDate": undefined,
"isMust": true,
"isShould": false,
Expand All @@ -74471,7 +74471,7 @@ Array [
Object {
"change": null,
"condition": "correctly support pagination",
"docsLink": "https://jsonapi.org/format/#fetching-pagination",
"docsLink": "https://github.com/snyk/sweater-comb/blob/main/docs/jsonapi.md#pagination-parameters",
"effectiveOnDate": undefined,
"isMust": true,
"isShould": false,
Expand Down Expand Up @@ -112790,7 +112790,7 @@ Array [
Object {
"change": null,
"condition": "correctly support pagination",
"docsLink": "https://jsonapi.org/format/#fetching-pagination",
"docsLink": "https://github.com/snyk/sweater-comb/blob/main/docs/jsonapi.md#pagination-parameters",
"effectiveOnDate": undefined,
"isMust": true,
"isShould": false,
Expand Down

0 comments on commit 566cad1

Please sign in to comment.