Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit a3975a6

Browse files
Update OpenAPI to version generated from ref 791a250 (#958)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 791a250 commit a3975a6

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

api/openapi.json

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,74 @@
11751175
"title": "AddProviderEndpointRequest",
11761176
"description": "Represents a request to add a provider endpoint."
11771177
},
1178+
"Alert": {
1179+
"properties": {
1180+
"id": {
1181+
"type": "string",
1182+
"title": "Id"
1183+
},
1184+
"prompt_id": {
1185+
"type": "string",
1186+
"title": "Prompt Id"
1187+
},
1188+
"code_snippet": {
1189+
"anyOf": [
1190+
{
1191+
"$ref": "#/components/schemas/CodeSnippet"
1192+
},
1193+
{
1194+
"type": "null"
1195+
}
1196+
]
1197+
},
1198+
"trigger_string": {
1199+
"anyOf": [
1200+
{
1201+
"type": "string"
1202+
},
1203+
{
1204+
"type": "object"
1205+
},
1206+
{
1207+
"type": "null"
1208+
}
1209+
],
1210+
"title": "Trigger String"
1211+
},
1212+
"trigger_type": {
1213+
"type": "string",
1214+
"title": "Trigger Type"
1215+
},
1216+
"trigger_category": {
1217+
"anyOf": [
1218+
{
1219+
"type": "string"
1220+
},
1221+
{
1222+
"type": "null"
1223+
}
1224+
],
1225+
"title": "Trigger Category"
1226+
},
1227+
"timestamp": {
1228+
"type": "string",
1229+
"format": "date-time",
1230+
"title": "Timestamp"
1231+
}
1232+
},
1233+
"type": "object",
1234+
"required": [
1235+
"id",
1236+
"prompt_id",
1237+
"code_snippet",
1238+
"trigger_string",
1239+
"trigger_type",
1240+
"trigger_category",
1241+
"timestamp"
1242+
],
1243+
"title": "Alert",
1244+
"description": "Represents an alert."
1245+
},
11781246
"AlertConversation": {
11791247
"properties": {
11801248
"conversation": {
@@ -1389,6 +1457,14 @@
13891457
"type": "null"
13901458
}
13911459
]
1460+
},
1461+
"alerts": {
1462+
"items": {
1463+
"$ref": "#/components/schemas/Alert"
1464+
},
1465+
"type": "array",
1466+
"title": "Alerts",
1467+
"default": []
13921468
}
13931469
},
13941470
"type": "object",

0 commit comments

Comments
 (0)