This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new a87bedf31a docs(api): correct attribute `name` instead of `table` for
GET table_metadata in openapi.json (#32690)
a87bedf31a is described below
commit a87bedf31a229fb96942f611ec73b17ef7e9ff64
Author: Đỗ Trọng Hải <[email protected]>
AuthorDate: Tue Mar 18 00:26:47 2025 +0700
docs(api): correct attribute `name` instead of `table` for GET
table_metadata in openapi.json (#32690)
Signed-off-by: hainenber <[email protected]>
---
docs/static/resources/openapi.json | 2 +-
superset/databases/api.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/static/resources/openapi.json
b/docs/static/resources/openapi.json
index 60c25fc519..6389dec60d 100644
--- a/docs/static/resources/openapi.json
+++ b/docs/static/resources/openapi.json
@@ -18736,7 +18736,7 @@
{
"description": "Table name",
"in": "query",
- "name": "table",
+ "name": "name",
"required": true,
"schema": {
"type": "string"
diff --git a/superset/databases/api.py b/superset/databases/api.py
index 5c3e024e73..fdf4d980c0 100644
--- a/superset/databases/api.py
+++ b/superset/databases/api.py
@@ -1016,7 +1016,7 @@ class DatabaseRestApi(BaseSupersetModelRestApi):
- in: query
schema:
type: string
- name: table
+ name: name
required: true
description: Table name
- in: query