YAML ValidationValidate YAML files and
Validate YAML files and
auto-fix issues
Validate curl-runner YAML configuration files against the schema and curl options. Discover issues, get fix suggestions, and auto-fix common problems with a single command.
Validate YAML files and auto-fix issues
validate.yaml
# Validate all YAML files in current directory
curl-runner validate
# Validate specific file
curl-runner validate api.yaml
# Validate with glob pattern
curl-runner validate "tests/**/*.yaml"
# Validate and auto-fix issues
curl-runner validate --fix
# Quiet mode - only show errors
curl-runner validate -q
# Combine flags
curl-runner validate -fq tests/Key Benefits
Why use YAML Validation?
Catch Errors Early
Validate YAML files before running them. Catch typos, invalid options, and schema violations immediately.
Auto-Fix Common Issues
Automatically fix common problems like lowercase HTTP methods and missing URL schemes with --fix.
Detailed Error Reports
Get clear, actionable error messages with the exact location and suggested fixes for each issue.
Use Cases
Perfect for these scenarios
Pre-commit validation in CI/CD pipelines
Catching configuration errors before execution
Migrating or upgrading YAML configurations
Onboarding new team members with instant feedback
Ready to try YAML Validation?
Get started with curl-runner and unlock powerful yaml validation capabilities for your API testing workflow.