Skip to content

Support new flags in actions - #1630

Merged
ramya18101 merged 12 commits into
mainfrom
DXCDT-2030-support-new-flags-in-actions
Aug 31, 2026
Merged

Support new flags in actions#1630
ramya18101 merged 12 commits into
mainfrom
DXCDT-2030-support-new-flags-in-actions

Conversation

@ramya18101

@ramya18101 ramya18101 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

🔧 Changes

Adds schema discovery and JSON input to auth0 actions create / auth0 actions update, driven by the Auth0 Management API OpenAPI schema. Payloads are validated locally before any API call — making the commands easy to drive from AI agents and automation.

New flags:

  • --schema — Print the request payload schema and exit (--json for machine-readable output).
  • --data — Supply the full payload as JSON: inline, a file (@action.json), or stdin or piped. Mutually exclusive with granular input flags .

📚 References

🔬 Testing

  • Unit tests: internal/openapi/*_test.go, internal/cli/data_json_test.go (schema load/resolve, validation, error enhancement, --data parsing).
  • Manual: --schema (text + --json); --data inline / @file / stdin; invalid payloads report all errors pre-call; 400 includes expected schema.

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@ramya18101 ramya18101 changed the title Dxcdt 2030 support new flags in actions Support new flags in actions Aug 27, 2026
@ramya18101
ramya18101 marked this pull request as ready for review August 27, 2026 09:00
@ramya18101
ramya18101 requested a review from a team as a code owner August 27, 2026 09:00
duedares-rvj
duedares-rvj previously approved these changes Aug 31, 2026
feat: add --schema and --query flags to actions list command for enhanced filtering and schema display
@ramya18101
ramya18101 enabled auto-merge (squash) August 31, 2026 07:04
@ramya18101
ramya18101 merged commit 2e60214 into main Aug 31, 2026
6 checks passed
@ramya18101
ramya18101 deleted the DXCDT-2030-support-new-flags-in-actions branch August 31, 2026 07:12
@ramya18101 ramya18101 mentioned this pull request Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants