You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-reference/sourcebot-public.openapi.json
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,10 @@
29
29
],
30
30
"security": [
31
31
{
32
-
"bearerAuth": []
32
+
"bearerToken": []
33
33
},
34
34
{
35
-
"sourcebotApiKey": []
35
+
"apiKeyHeader": []
36
36
},
37
37
{}
38
38
],
@@ -759,16 +759,16 @@
759
759
},
760
760
"parameters": {},
761
761
"securitySchemes": {
762
-
"bearerAuth": {
762
+
"bearerToken": {
763
763
"type": "http",
764
764
"scheme": "bearer",
765
-
"description": "Send either a Sourcebot API key (`sbk_...` or legacy `sourcebot-...`) or, on EE instances with OAuth enabled, an OAuth access token (`sboa_...`) in the Authorization header."
765
+
"description": "Send either a Sourcebot API key (`sbk_...`) or, on EE instances with OAuth enabled, an OAuth access token (`sboa_...`) in the Authorization header."
766
766
},
767
-
"sourcebotApiKey": {
767
+
"apiKeyHeader": {
768
768
"type": "apiKey",
769
769
"in": "header",
770
770
"name": "X-Sourcebot-Api-Key",
771
-
"description": "Send a Sourcebot API key (`sbk_...` or legacy `sourcebot-...`) in the X-Sourcebot-Api-Key header."
771
+
"description": "Send a Sourcebot API key (`sbk_...`) in the X-Sourcebot-Api-Key header."
description: 'Send either a Sourcebot API key (`sbk_...` or legacy `sourcebot-...`) or, on EE instances with OAuth enabled, an OAuth access token (`sboa_...`) in the Authorization header.',
60
+
description: 'Send either a Sourcebot API key (`sbk_...`) or, on EE instances with OAuth enabled, an OAuth access token (`sboa_...`) in the Authorization header.',
56
61
},
57
-
sourcebotApiKey: {
62
+
[securitySchemeNames.apiKeyHeader]: {
58
63
type: 'apiKey',
59
64
in: 'header',
60
65
name: 'X-Sourcebot-Api-Key',
61
-
description: 'Send a Sourcebot API key (`sbk_...` or legacy `sourcebot-...`) in the X-Sourcebot-Api-Key header.',
66
+
description: 'Send a Sourcebot API key (`sbk_...`) in the X-Sourcebot-Api-Key header.',
62
67
},
63
68
};
64
69
@@ -275,8 +280,8 @@ export function createPublicOpenApiDocument(version: string) {
0 commit comments