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

Commit 16d525f

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

File tree

1 file changed

+67
-6
lines changed

1 file changed

+67
-6
lines changed

api/openapi.json

Lines changed: 67 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"content": {
9393
"application/json": {
9494
"schema": {
95-
"$ref": "#/components/schemas/ProviderEndpoint"
95+
"$ref": "#/components/schemas/AddProviderEndpointRequest"
9696
}
9797
}
9898
}
@@ -266,7 +266,7 @@
266266
"content": {
267267
"application/json": {
268268
"schema": {
269-
"$ref": "#/components/schemas/ProviderEndpoint"
269+
"$ref": "#/components/schemas/AddProviderEndpointRequest"
270270
}
271271
}
272272
}
@@ -1113,6 +1113,68 @@
11131113
],
11141114
"title": "ActiveWorkspace"
11151115
},
1116+
"AddProviderEndpointRequest": {
1117+
"properties": {
1118+
"id": {
1119+
"anyOf": [
1120+
{
1121+
"type": "string"
1122+
},
1123+
{
1124+
"type": "null"
1125+
}
1126+
],
1127+
"title": "Id",
1128+
"default": ""
1129+
},
1130+
"name": {
1131+
"type": "string",
1132+
"title": "Name"
1133+
},
1134+
"description": {
1135+
"type": "string",
1136+
"title": "Description",
1137+
"default": ""
1138+
},
1139+
"provider_type": {
1140+
"$ref": "#/components/schemas/ProviderType"
1141+
},
1142+
"endpoint": {
1143+
"type": "string",
1144+
"title": "Endpoint",
1145+
"default": ""
1146+
},
1147+
"auth_type": {
1148+
"anyOf": [
1149+
{
1150+
"$ref": "#/components/schemas/ProviderAuthType"
1151+
},
1152+
{
1153+
"type": "null"
1154+
}
1155+
],
1156+
"default": "none"
1157+
},
1158+
"api_key": {
1159+
"anyOf": [
1160+
{
1161+
"type": "string"
1162+
},
1163+
{
1164+
"type": "null"
1165+
}
1166+
],
1167+
"title": "Api Key"
1168+
}
1169+
},
1170+
"type": "object",
1171+
"required": [
1172+
"name",
1173+
"provider_type"
1174+
],
1175+
"title": "AddProviderEndpointRequest",
1176+
"description": "Represents a request to add a provider endpoint."
1177+
},
11161178
"AlertConversation": {
11171179
"properties": {
11181180
"conversation": {
@@ -1437,7 +1499,6 @@
14371499
"MuxMatcherType": {
14381500
"type": "string",
14391501
"enum": [
1440-
"file_regex",
14411502
"catch_all"
14421503
],
14431504
"title": "MuxMatcherType",
@@ -1515,7 +1576,8 @@
15151576
},
15161577
"endpoint": {
15171578
"type": "string",
1518-
"title": "Endpoint"
1579+
"title": "Endpoint",
1580+
"default": ""
15191581
},
15201582
"auth_type": {
15211583
"anyOf": [
@@ -1532,8 +1594,7 @@
15321594
"type": "object",
15331595
"required": [
15341596
"name",
1535-
"provider_type",
1536-
"endpoint"
1597+
"provider_type"
15371598
],
15381599
"title": "ProviderEndpoint",
15391600
"description": "Represents a provider's endpoint configuration. This\nallows us to persist the configuration for each provider,\nso we can use this for muxing messages."

0 commit comments

Comments
 (0)