fix: OpenAPI boolean type (#14827)
This commit is contained in:
parent
c72894725e
commit
f1ea1d74a7
|
|
@ -1003,7 +1003,7 @@ class ChartRestApi(BaseSupersetModelRestApi):
|
|||
type: string
|
||||
overwrite:
|
||||
description: overwrite existing databases?
|
||||
type: bool
|
||||
type: boolean
|
||||
responses:
|
||||
200:
|
||||
description: Chart import result
|
||||
|
|
|
|||
|
|
@ -914,7 +914,7 @@ class DashboardRestApi(BaseSupersetModelRestApi):
|
|||
type: string
|
||||
overwrite:
|
||||
description: overwrite existing databases?
|
||||
type: bool
|
||||
type: boolean
|
||||
responses:
|
||||
200:
|
||||
description: Dashboard import result
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue