fix: trying to correct POST request body property names in query SQL API docs

fix/api-docs-query-sql-field-names
meelahme 2025-07-23 14:25:56 -07:00
parent b418ba558f
commit f4309d7e21
1 changed files with 7 additions and 7 deletions

View File

@ -1844,12 +1844,12 @@ components:
QueryRequestObject:
type: object
properties:
database:
db:
description: |
The name of the database to query.
Required if the query (`query_str`) doesn't specify the database.
Required if the query (`q`) doesn't specify the database.
type: string
query_str:
q:
description: The query to execute.
type: string
format:
@ -1868,11 +1868,11 @@ components:
type: object
additionalProperties: true
required:
- database
- query_str
- db
- q
example:
database: mydb
query_str: SELECT * FROM mytable
db: mydb
q: SELECT * FROM mytable
format: json
params: {}
CreateDatabaseRequest: