Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/validate-arbitrary-sql.RequestSchema.json

32 lines
803 B
JSON

{
"title": "Body",
"body": {
"content": {
"application/json": {
"schema": {
"properties": {
"catalog": { "nullable": true, "type": "string" },
"schema": { "nullable": true, "type": "string" },
"sql": {
"description": "SQL statement to validate",
"type": "string"
},
"template_params": { "nullable": true, "type": "object" }
},
"required": ["sql"],
"type": "object",
"title": "ValidateSQLRequest"
},
"example": {
"catalog": "string",
"schema": "string",
"sql": "string",
"template_params": {}
}
}
},
"description": "Validate SQL request",
"required": true
}
}