Skip to content

Commit dd9c458

Browse files
authored
chore: Enhance OpenAPI documentation by adding required field formatting and providing a description for the bearerAuth security scheme. (#989)
1 parent 1aaae5f commit dd9c458

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

discovery-openapi.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,9 @@
523523
"application/json": {
524524
"schema": {
525525
"type": "object",
526-
"required": ["query"],
526+
"required": [
527+
"query"
528+
],
527529
"properties": {
528530
"query": {
529531
"type": "string",
@@ -589,7 +591,8 @@
589591
"securitySchemes": {
590592
"bearerAuth": {
591593
"type": "http",
592-
"scheme": "bearer"
594+
"scheme": "bearer",
595+
"description": "The Authorization header expects a Bearer token. See the [Assistant API Key documentation](/api-reference/introduction#assistant-api-key) for details on how to get your API key."
593596
}
594597
}
595598
}

0 commit comments

Comments
 (0)