edge-connect-client/cmd
Richard Robert Reitz 59ba5ffb02 fix(apply): add validation to reject v1 API version
The apply command requires v2 API features and cannot work with v1.
Add early validation to provide a clear error message when users try
to use apply with --api-version v1, instead of failing with a cryptic
403 Forbidden error.

Error message explains that apply only supports v2 and guides users
to use --api-version v2 or remove the api_version setting.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 13:49:09 +02:00
..
app.go feat(config): add API version selector for v1 and v2 2025-10-20 13:41:50 +02:00
app_test.go feat(validation): Added validation of baseURL config 2025-09-29 10:48:52 +02:00
apply.go fix(apply): add validation to reject v1 API version 2025-10-20 13:49:09 +02:00
instance.go feat(config): add API version selector for v1 and v2 2025-10-20 13:41:50 +02:00
root.go feat(config): add API version selector for v1 and v2 2025-10-20 13:41:50 +02:00