diff --git a/superset/charts/api.py b/superset/charts/api.py index e3f3936f93..602f082b40 100644 --- a/superset/charts/api.py +++ b/superset/charts/api.py @@ -1003,7 +1003,7 @@ class ChartRestApi(BaseSupersetModelRestApi): type: string overwrite: description: overwrite existing databases? - type: bool + type: boolean responses: 200: description: Chart import result diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py index 8c21e0b804..14e92ed2e8 100644 --- a/superset/dashboards/api.py +++ b/superset/dashboards/api.py @@ -914,7 +914,7 @@ class DashboardRestApi(BaseSupersetModelRestApi): type: string overwrite: description: overwrite existing databases? - type: bool + type: boolean responses: 200: description: Dashboard import result diff --git a/superset/databases/api.py b/superset/databases/api.py index 0b0d29718d..c313f64c8a 100644 --- a/superset/databases/api.py +++ b/superset/databases/api.py @@ -775,7 +775,7 @@ class DatabaseRestApi(BaseSupersetModelRestApi): type: string overwrite: description: overwrite existing databases? - type: bool + type: boolean responses: 200: description: Database import result @@ -888,7 +888,7 @@ class DatabaseRestApi(BaseSupersetModelRestApi): type: string preferred: description: Is the database preferred? - type: bool + type: boolean sqlalchemy_uri_placeholder: description: Example placeholder for the SQLAlchemy URI type: string diff --git a/superset/datasets/api.py b/superset/datasets/api.py index c35a0333cb..278fc0b3ab 100644 --- a/superset/datasets/api.py +++ b/superset/datasets/api.py @@ -267,7 +267,7 @@ class DatasetRestApi(BaseSupersetModelRestApi): name: pk - in: query schema: - type: bool + type: boolean name: override_columns requestBody: description: Dataset schema @@ -681,7 +681,7 @@ class DatasetRestApi(BaseSupersetModelRestApi): type: string overwrite: description: overwrite existing datasets? - type: bool + type: boolean responses: 200: description: Dataset import result diff --git a/superset/queries/saved_queries/api.py b/superset/queries/saved_queries/api.py index aef2288422..ee39f0913c 100644 --- a/superset/queries/saved_queries/api.py +++ b/superset/queries/saved_queries/api.py @@ -289,7 +289,7 @@ class SavedQueryRestApi(BaseSupersetModelRestApi): type: string overwrite: description: overwrite existing saved queries? - type: bool + type: boolean responses: 200: description: Saved Query import result