Skip to content

Commit

Permalink
fix(openapi): sync with openapi definition
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 23, 2023
1 parent 84e04bd commit 80c9b41
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
19 changes: 17 additions & 2 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5821,7 +5821,7 @@
]
},
"value": {
"$ref": "#/components/schemas/SocketRefNPM"
"$ref": "#/components/schemas/SocketRefPyPI"
}
}
},
Expand Down Expand Up @@ -5854,6 +5854,21 @@
"$ref": "#/components/schemas/SocketRefWeb"
}
}
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"pypi"
]
},
"value": {
"$ref": "#/components/schemas/SocketRefPyPI"
}
}
}
]
},
Expand Down Expand Up @@ -5903,7 +5918,7 @@
"start"
]
},
"SocketRefNPM": {
"SocketRefPyPI": {
"type": "object",
"additionalProperties": false,
"properties": {
Expand Down
9 changes: 7 additions & 2 deletions types/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ export interface components {
Partial<{
/** @enum {string} */
type?: "npm";
value?: components["schemas"]["SocketRefNPM"];
value?: components["schemas"]["SocketRefPyPI"];
}> &
Partial<{
/** @enum {string} */
Expand All @@ -1775,6 +1775,11 @@ export interface components {
/** @enum {string} */
type?: "web";
value?: components["schemas"]["SocketRefWeb"];
}> &
Partial<{
/** @enum {string} */
type?: "pypi";
value?: components["schemas"]["SocketRefPyPI"];
}>;
SocketRefTextRange: {
/** @default 0 */
Expand All @@ -1792,7 +1797,7 @@ export interface components {
/** @default 0 */
end: number;
};
SocketRefNPM: {
SocketRefPyPI: {
/** @default */
package: string;
/** @default */
Expand Down

0 comments on commit 80c9b41

Please sign in to comment.