feat: remove visibility flag and warn on deprecated flow endpoint#918
feat: remove visibility flag and warn on deprecated flow endpoint#918mbevc1 wants to merge 1 commit into
Conversation
The legacy PUT /api/v2/flows/{org} endpoint is deprecated. The
`--visibility` flag was only meaningful for that endpoint, so remove it
from `create flow`. Emit a deprecation warning when neither
`--template-file` nor `--use-empty-template` is provided, since that path
still uses the deprecated endpoint.
|
Claude finished @mbevc1's task in 1m 37s —— View job PR Review: Remove visibility flag and warn on deprecated flow endpoint
Static AnalysisAll checks pass: Review SummaryClean, well-scoped PR. The Findings:
Overall: Looks good to merge. The change is minimal, correct, and well-tested. No bugs, security issues, or performance concerns. |
The legacy PUT /api/v2/flows/{org} endpoint is deprecated. The
--visibilityflag was only meaningful for that endpoint, so remove it fromcreate flow. Emit a deprecation warning when neither--template-filenor--use-empty-templateis provided, since that path still uses the deprecated endpoint.Fixes: https://github.com/kosli-dev/server/issues/5790