fix: OpenAPI boolean type (#14827)

This commit is contained in:
Beto Dealmeida 2021-05-25 14:46:41 -07:00 committed by GitHub
parent c72894725e
commit f1ea1d74a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -1003,7 +1003,7 @@ class ChartRestApi(BaseSupersetModelRestApi):
type: string
overwrite:
description: overwrite existing databases?
type: bool
type: boolean
responses:
200:
description: Chart import result

View File

@ -914,7 +914,7 @@ class DashboardRestApi(BaseSupersetModelRestApi):
type: string
overwrite:
description: overwrite existing databases?
type: bool
type: boolean
responses:
200:
description: Dashboard import result

View File

@ -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

View File

@ -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

View File

@ -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