Skip to content

CONV-314: Add OpenAPI validation test#275

Merged
menvil merged 1 commit into
developfrom
feature/CONV-314-add-openapi-validation-test
Jun 3, 2026
Merged

CONV-314: Add OpenAPI validation test#275
menvil merged 1 commit into
developfrom
feature/CONV-314-add-openapi-validation-test

Conversation

@menvil

@menvil menvil commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds openApiSpec() helper to tests/Pest.php using symfony/yaml
  • Adds validation test that parses the YAML and checks required root keys
  • Adds symfony/yaml as dev dependency

Test plan

  • composer test passes (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 parse docs/api/openapi.yaml.
    • New test verifies presence of openapi, info, paths, and components.
    • Minor quote fix in docs/api/openapi.yaml to ensure valid YAML.
  • Dependencies

    • Added dev dependency symfony/yaml@^7.4.

Written for commit be343a1. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@menvil menvil merged commit 8e70207 into develop Jun 3, 2026
1 check was pending
@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e4324d5f-fcdb-48cc-8869-576c83dc473f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/CONV-314-add-openapi-validation-test

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@menvil menvil deleted the feature/CONV-314-add-openapi-validation-test branch June 3, 2026 17:09
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.

1 participant