edge-connect-client/cmd
Richard Robert Reitz 2a8e99eb63 feat(config): add API version selector for v1 and v2
Add configurable API version selection with three methods:
- Config file: api_version: "v1" or "v2" in .edge-connect.yaml
- CLI flag: --api-version v1/v2
- Environment variable: EDGE_CONNECT_API_VERSION=v1/v2

Changes:
- Update root.go to add api_version config and env var support
- Update app.go and instance.go to support both v1 and v2 clients
- Add example config file with api_version documentation
- Default to v2 for backward compatibility
- Apply command always uses v2 (advanced feature)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 13:41:50 +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 feat(config): add API version selector for v1 and v2 2025-10-20 13:41:50 +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