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
5 changed files with 7 additions and 7 deletions

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