Skip to content

Commit 04223ce

Browse files
fix(openapi): sync with openapi definition (#59)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent cd805e8 commit 04223ce

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

openapi.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,14 @@
216216
"type": "object",
217217
"additionalProperties": false,
218218
"properties": {
219+
"id": {
220+
"type": "string",
221+
"default": ""
222+
},
223+
"healthy": {
224+
"type": "boolean",
225+
"default": false
226+
},
219227
"issues": {
220228
"$ref": "#/components/schemas/SocketIssueList"
221229
},
@@ -254,6 +262,8 @@
254262
}
255263
},
256264
"required": [
265+
"healthy",
266+
"id",
257267
"issues",
258268
"score"
259269
]
@@ -6199,8 +6209,17 @@
61996209
"type": "object",
62006210
"additionalProperties": {
62016211
"type": "string",
6202-
"default": "",
62036212
"format": "binary"
6213+
},
6214+
"properties": {
6215+
"issueRules": {
6216+
"type": "object",
6217+
"additionalProperties": {
6218+
"type": "boolean",
6219+
"default": false
6220+
},
6221+
"properties": {}
6222+
}
62046223
}
62056224
}
62066225
}

types/api.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ export interface components {
6666
depscore: number;
6767
};
6868
SocketReport: {
69+
/** @default */
70+
id: string;
71+
/** @default false */
72+
healthy: boolean;
6973
issues: components["schemas"]["SocketIssueList"];
7074
score: {
7175
/** @default 0 */
@@ -1984,7 +1988,9 @@ export interface operations {
19841988
};
19851989
requestBody: {
19861990
content: {
1987-
"multipart/form-data": { [key: string]: never };
1991+
"multipart/form-data": {
1992+
issueRules?: { [key: string]: boolean };
1993+
} & { [key: string]: never };
19881994
};
19891995
};
19901996
};

0 commit comments

Comments
 (0)