Skip to content

Commit

Permalink
Merge pull request #134 from SocketDev/cg/updateOpenAPIDef
Browse files Browse the repository at this point in the history
Update the OpenAPI definition manually to add the issues labels
  • Loading branch information
charliegerard authored Nov 27, 2023
2 parents e845965 + 71fd38d commit e708559
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4486,12 +4486,16 @@
},
"locations": {
"$ref": "#/components/schemas/SocketRefList"
},
"label": {
"type": "string"
}
},
"required": [
"category",
"locations",
"severity"
"severity",
"label"
]
},
"SocketUsageRef": {
Expand Down Expand Up @@ -5902,4 +5906,4 @@
}
}
}
}
}
1 change: 1 addition & 0 deletions types/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,7 @@ export interface components {
severity: components["schemas"]["SocketIssueSeverity"];
category: components["schemas"]["SocketCategory"];
locations: components["schemas"]["SocketRefList"];
label: string;
};
SocketUsageRef: {
file: components["schemas"]["SocketRefFile"];
Expand Down

0 comments on commit e708559

Please sign in to comment.