Fix POST query endpoint request body property names in Enterprise API spec

fix/api-enterprise-docs-query-sql-field-names
meelahme 2025-07-25 10:16:23 -07:00
parent 9f22dd25f7
commit 80cb646a9b
1 changed files with 7 additions and 7 deletions

View File

@ -1976,12 +1976,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:
@ -2000,11 +2000,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: