databricks-cli/cmd/workspace
Andrew Nester 28e094c207
Fixed accessing required path parameters in CLI generation when --json flag (#2373)
## Changes
CLI generation template was using RequiredPathField from incorrect
request entity (body field from request and not request itself). Thus
for some of the commands required path parameters were not required when
--json was specified.

## Tests
Regenerated commands work correctly
2025-02-25 20:20:06 +00:00
..
access-control Bump github.com/databricks/databricks-sdk-go from 0.55.0 to 0.56.1 (#2238) 2025-01-27 13:11:07 +00:00
aibi-dashboard-embedding-access-policy Bump github.com/databricks/databricks-sdk-go from 0.52.0 to 0.53.0 (#1985) 2024-12-12 14:36:00 +00:00
aibi-dashboard-embedding-approved-domains Bump github.com/databricks/databricks-sdk-go from 0.52.0 to 0.53.0 (#1985) 2024-12-12 14:36:00 +00:00
alerts Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
alerts-legacy Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
apps Fixed accessing required path parameters in CLI generation when --json flag (#2373) 2025-02-25 20:20:06 +00:00
artifact-allowlists Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
automatic-cluster-update Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
catalogs Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
clean-room-assets Bump github.com/databricks/databricks-sdk-go from 0.52.0 to 0.53.0 (#1985) 2024-12-12 14:36:00 +00:00
clean-room-task-runs Bump github.com/databricks/databricks-sdk-go from 0.52.0 to 0.53.0 (#1985) 2024-12-12 14:36:00 +00:00
clean-rooms Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
cluster-policies Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
clusters Upgrade Go SDK to 0.54.0 (#2029) 2024-12-18 12:43:27 +00:00
compliance-security-profile Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
connections Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
consumer-fulfillments Upgrade Go SDK to 0.44.0 (#1679) 2024-08-15 13:23:07 +00:00
consumer-installations Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
consumer-listings Upgrade Go SDK to 0.44.0 (#1679) 2024-08-15 13:23:07 +00:00
consumer-personalization-requests Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
consumer-providers Upgrade Go SDK to 0.44.0 (#1679) 2024-08-15 13:23:07 +00:00
credentials Bump github.com/databricks/databricks-sdk-go from 0.52.0 to 0.53.0 (#1985) 2024-12-12 14:36:00 +00:00
credentials-manager Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
current-user Update Go SDK to v0.34.0 (#1256) 2024-03-06 09:53:44 +00:00
dashboard-widgets Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
dashboards Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
data-sources Upgrade Go SDK to 0.44.0 (#1679) 2024-08-15 13:23:07 +00:00
default-namespace Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
disable-legacy-access Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
disable-legacy-dbfs Bump github.com/databricks/databricks-sdk-go from 0.48.0 to 0.49.0 (#1843) 2024-10-22 09:37:01 +00:00
enhanced-security-monitoring Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
experiments Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
external-locations Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
functions Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
genie build(deps): bump github.com/databricks/databricks-sdk-go from 0.57.0 to 0.58.1 (#2357) 2025-02-25 11:20:29 +00:00
git-credentials Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
global-init-scripts Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
grants Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
groups Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
instance-pools Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
instance-profiles Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
ip-access-lists Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
jobs Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
lakeview Fixed accessing required path parameters in CLI generation when --json flag (#2373) 2025-02-25 20:20:06 +00:00
lakeview-embedded Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
libraries Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
metastores Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
model-registry Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
model-versions Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
notification-destinations Bump github.com/databricks/databricks-sdk-go from 0.51.0 to 0.52.0 (#1931) 2024-11-28 15:33:51 +00:00
online-tables Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
permission-migration Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
permissions Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
pipelines Bump github.com/databricks/databricks-sdk-go from 0.54.0 to 0.55.0 (#2126) 2025-01-14 16:02:34 +00:00
policy-compliance-for-clusters Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
policy-compliance-for-jobs Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
policy-families Upgrade Go SDK to 0.44.0 (#1679) 2024-08-15 13:23:07 +00:00
provider-exchange-filters Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
provider-exchanges Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
provider-files Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
provider-listings Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
provider-personalization-requests Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
provider-provider-analytics-dashboards Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
provider-providers Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
providers Bump github.com/databricks/databricks-sdk-go from 0.55.0 to 0.56.1 (#2238) 2025-01-27 13:11:07 +00:00
quality-monitors Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
queries Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
queries-legacy Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
query-execution Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
query-history Bump github.com/databricks/databricks-sdk-go from 0.44.0 to 0.45.0 (#1719) 2024-08-27 08:54:05 +00:00
query-visualizations Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
query-visualizations-legacy Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
recipient-activation Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
recipients Bump github.com/databricks/databricks-sdk-go from 0.55.0 to 0.56.1 (#2238) 2025-01-27 13:11:07 +00:00
redash-config Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
registered-models Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
repos Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
resource-quotas Bump github.com/databricks/databricks-sdk-go from 0.44.0 to 0.45.0 (#1719) 2024-08-27 08:54:05 +00:00
restrict-workspace-admins Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
schemas Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
secrets Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
service-principals Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
serving-endpoints Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
settings Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
shares Bump github.com/databricks/databricks-sdk-go from 0.54.0 to 0.55.0 (#2126) 2025-01-14 16:02:34 +00:00
storage-credentials Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
system-schemas Upgrade Go SDK to 0.44.0 (#1679) 2024-08-15 13:23:07 +00:00
table-constraints Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
tables Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
temporary-table-credentials Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
token-management Bump github.com/databricks/databricks-sdk-go from 0.51.0 to 0.52.0 (#1931) 2024-11-28 15:33:51 +00:00
tokens Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
users Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
vector-search-endpoints Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
vector-search-indexes Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
volumes Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
warehouses Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
workspace Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
workspace-bindings Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
workspace-conf Added JSON input validation for CLI commands (#1771) 2024-10-11 14:39:53 +00:00
cmd.go Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 (#2321) 2025-02-10 12:50:52 +00:00
groups.go Bump github.com/databricks/databricks-sdk-go from 0.52.0 to 0.53.0 (#1985) 2024-12-12 14:36:00 +00:00