mirror of
https://github.com/apache/superset.git
synced 2026-08-04 13:02:41 +00:00
32 lines
803 B
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
|
|
}
|
|
}
|