This is an automated email from the ASF dual-hosted git repository.
villebro 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 93fa478 Fix OpenAPI definition (#16672)
93fa478 is described below
commit 93fa4785070d65ca12d2fee30610c5eecd75a0ea
Author: WingCode <[email protected]>
AuthorDate: Thu Sep 23 09:29:29 2021 +0530
Fix OpenAPI definition (#16672)
Co-authored-by: WingCode <[email protected]>
---
docs/src/resources/openapi.json | 68 +++++++++++++++++++++--------------------
1 file changed, 35 insertions(+), 33 deletions(-)
diff --git a/docs/src/resources/openapi.json b/docs/src/resources/openapi.json
index c0486d5..b83e741 100644
--- a/docs/src/resources/openapi.json
+++ b/docs/src/resources/openapi.json
@@ -9984,43 +9984,45 @@
"content": {
"application/json": {
"schema": {
- "items": {
- "properties": {
- "available_drivers": {
- "description": "Installed drivers for the engine",
- "items": {
+ "databases": {
+ "items": {
+ "properties": {
+ "available_drivers": {
+ "description": "Installed drivers for the engine",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "default_driver": {
+ "description": "Default driver for the engine",
"type": "string"
},
- "type": "array"
- },
- "default_driver": {
- "description": "Default driver for the engine",
- "type": "string"
- },
- "engine": {
- "description": "Name of the SQLAlchemy engine",
- "type": "string"
- },
- "name": {
- "description": "Name of the database",
- "type": "string"
- },
- "parameters": {
- "description": "JSON schema defining the needed
parameters",
- "type": "object"
- },
- "preferred": {
- "description": "Is the database preferred?",
- "type": "boolean"
+ "engine": {
+ "description": "Name of the SQLAlchemy engine",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the database",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "JSON schema defining the needed
parameters",
+ "type": "object"
+ },
+ "preferred": {
+ "description": "Is the database preferred?",
+ "type": "boolean"
+ },
+ "sqlalchemy_uri_placeholder": {
+ "description": "Example placeholder for the
SQLAlchemy URI",
+ "type": "string"
+ }
},
- "sqlalchemy_uri_placeholder": {
- "description": "Example placeholder for the SQLAlchemy
URI",
- "type": "string"
- }
+ "type": "object"
},
- "type": "object"
- },
- "type": "array"
+ "type": "array"
+ }
}
}
},