Skip to content

Commit 32076b7

Browse files
github-actions[bot]voxpelli
authored andcommitted
fix(openapi): sync with openapi definition
1 parent 7dc4199 commit 32076b7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

openapi.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6034,7 +6034,7 @@
60346034
"Project report"
60356035
],
60366036
"summary": "Create a report",
6037-
"description": "Upload a lockfile to get your project analyzed by Socket.\nYou can upload multiple lockfiles in the same request, but each filename must be unique.\nThe name of the file must be in the supported list.\n\nThe supported lockfiles (and filenames) are: `package.json` and `package-lock.json`.\n\nFor example, these are valid filenames: `package.json`, `folder/package.json` and `deep/nested/folder/package.json`.",
6037+
"description": "Upload a lockfile to get your project analyzed by Socket.\nYou can upload multiple lockfiles in the same request, but each filename must be unique.\n\nThe name of the file must be in the supported list.\n\nThe supported lockfiles (and filenames) are: `package.json` and `package-lock.json`.\n\nFor example, these are valid filenames: `package.json`, `folder/package.json` and `deep/nested/folder/package.json`.",
60386038
"operationId": "createReport",
60396039
"requestBody": {
60406040
"content": {
@@ -6085,9 +6085,6 @@
60856085
"403": {
60866086
"$ref": "#/components/responses/SocketForbidden"
60876087
},
6088-
"404": {
6089-
"$ref": "#/components/responses/SocketNotFoundResponse"
6090-
},
60916088
"429": {
60926089
"$ref": "#/components/responses/SocketTooManyRequestsResponse"
60936090
}

types/api.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export interface paths {
2525
/**
2626
* Upload a lockfile to get your project analyzed by Socket.
2727
* You can upload multiple lockfiles in the same request, but each filename must be unique.
28+
*
2829
* The name of the file must be in the supported list.
2930
*
3031
* The supported lockfiles (and filenames) are: `package.json` and `package-lock.json`.
@@ -1902,6 +1903,7 @@ export interface operations {
19021903
/**
19031904
* Upload a lockfile to get your project analyzed by Socket.
19041905
* You can upload multiple lockfiles in the same request, but each filename must be unique.
1906+
*
19051907
* The name of the file must be in the supported list.
19061908
*
19071909
* The supported lockfiles (and filenames) are: `package.json` and `package-lock.json`.
@@ -1924,7 +1926,6 @@ export interface operations {
19241926
400: components["responses"]["SocketBadRequest"];
19251927
401: components["responses"]["SocketUnauthorized"];
19261928
403: components["responses"]["SocketForbidden"];
1927-
404: components["responses"]["SocketNotFoundResponse"];
19281929
429: components["responses"]["SocketTooManyRequestsResponse"];
19291930
};
19301931
requestBody: {

0 commit comments

Comments
 (0)