Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

remove registry (#65242)

Jeff Bruemmer619d9350cc1c
diff --git a/enterprise/backend/src/metabase_enterprise/metabot_v3/tools/api.clj b/enterprise/backend/src/metabase_enterprise/metabot_v3/tools/api.clj
index a8acc129380..614825db8f2 100644
--- a/enterprise/backend/src/metabase_enterprise/metabot_v3/tools/api.clj
+++ b/enterprise/backend/src/metabase_enterprise/metabot_v3/tools/api.clj
@@ -602,20 +602,17 @@
:with_metric_default_temporal_breakout :with-default-temporal-breakout?})}]])
(mr/def ::table-result
- [:schema
- {:registry {::table-result
- [:map
- [:id :int]
- [:type [:enum :model :table]]
- [:name :string]
- [:display_name :string]
- [:database_id :int]
- [:database_schema {:optional true} [:maybe :string]] ; Schema name, if applicable
- [:fields ::columns]
- [:related_tables {:optional true} [:sequential [:ref ::table-result]]]
- [:description {:optional true} [:maybe :string]]
- [:metrics {:optional true} [:sequential ::basic-metric]]]}}
- ::table-result])
+ [:map
+ [:id :int]
+ [:type [:enum :model :table]]
+ [:name :string]
+ [:display_name :string]
+ [:database_id :int]
+ [:database_schema {:optional true} [:maybe :string]] ; Schema name, if applicable
+ [:fields ::columns]
+ [:related_tables {:optional true} [:sequential [:ref ::table-result]]]
+ [:description {:optional true} [:maybe :string]]
+ [:metrics {:optional true} [:sequential ::basic-metric]]])
(mr/def ::get-table-details-result
[:or