FIX: add table_schema to request

This commit is contained in:
Gabriel Amorim
2023-03-14 16:00:57 -03:00
parent 2abc19c589
commit 7b25bfdb69
6 changed files with 50 additions and 23 deletions
+12 -6
View File
@@ -4828,7 +4828,7 @@
}
},
"info": {
"title": "Maestro - main",
"title": "Maestro - feat/trigger-catalog-task",
"description": "This is the Maestro API",
"version": "1.0.0",
"contact": {}
@@ -7198,15 +7198,21 @@
"TriggerCatalogReq": {
"type": "object",
"properties": {
"pipeline_id": {
"type": "string"
},
"table_name": {
"type": "string"
"type": "string",
"description": "Name of the table on Snowflake",
"example": "TB__4DXSD4_TEST"
},
"table_schema": {
"type": "string",
"description": "Schema where the asset is located. If not set defaults to \"PUBLIC\""
},
"pipeline_id": {
"type": "string",
"description": "Id of the pipeline that generated the asset."
}
},
"required": [
"pipeline_id",
"table_name"
]
},