CONV-314: Add OpenAPI validation test
Merged
ME
5mo ago+95+95+01234567890123456789-3-3-0123456789
Summary
- Adds
openApiSpec()helper totests/Pest.phpusingsymfony/yaml - Adds validation test that parses the YAML and checks required root keys
- Adds
symfony/yamlas dev dependency
Test plan
-
composer testpasses (603 tests)
š¤ Generated with Claude Code
Summary by cubic
Adds a validation test for our OpenAPI YAML to catch structural regressions and ensure required root keys are present. Fulfills CONV-314 by adding a parsing helper and the symfony/yaml dev dependency.
-
New Features
- Added
openApiSpec()test helper to parsedocs/api/openapi.yaml. - New test verifies presence of
openapi,info,paths, andcomponents. - Minor quote fix in
docs/api/openapi.yamlto ensure valid YAML.
- Added
-
Dependencies
- Added dev dependency
symfony/yaml@^7.4.
- Added dev dependency