feat(validator-speclynx): expose parse result via toolbox#209
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughExposes a new Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Pull request overview
This PR exposes the full ApiDOM parseResult to SpecLynx validation plugins via the plugin toolbox, and updates plugin documentation/examples accordingly.
Changes:
- Add
parseResultto the plugin toolbox created by the SpecLynx validator runtime. - Update built-in/sample plugin documentation and test fixtures to describe the new toolbox field.
- Update package README and Python backend docstring to document
parseResultavailability for plugin authors.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/jentic-openapi-validator-speclynx/tests/fixtures/plugins/version-validator.mjs | Updates fixture plugin docs to mention parseResult in toolbox. |
| packages/jentic-openapi-validator-speclynx/src/jentic/apitools/openapi/validator/backends/speclynx/resources/speclynx.mjs | Passes parseResult through the toolbox to plugins. |
| packages/jentic-openapi-validator-speclynx/src/jentic/apitools/openapi/validator/backends/speclynx/resources/plugins/openapi-document.mjs | Updates plugin header docs to mention parseResult. |
| packages/jentic-openapi-validator-speclynx/src/jentic/apitools/openapi/validator/backends/speclynx/resources/plugins/example-plugin.mjs.sample | Updates sample plugin docs to include parseResult in toolbox contract. |
| packages/jentic-openapi-validator-speclynx/src/jentic/apitools/openapi/validator/backends/speclynx/init.py | Updates Python backend docstring describing plugin toolbox fields. |
| packages/jentic-openapi-validator-speclynx/README.md | Updates public docs/example to show parseResult in plugin toolbox. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary by CodeRabbit
New Features
Documentation
Tests