Repository navigation
fix(api-docs): bump @absmartly/api-mocks to 1.0.10 - #296
Conversation
1.0.8 shipped a Template schema with `required: null`, which crashed the create, update and restart experiment Web Console API pages with "n is not iterable" when the theme merged their allOf request schemas. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour. WalkthroughThe Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to This bumps the API mocks dev dependency to a version that fixes the documentation page crashes. The version is available from the registry, so merging carries little risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
I’m a rabbit with a package to inspect, Comment |
✅ Deploy Preview for absmartly-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Summary
Fixes the crash on these Web Console API pages:
/docs/apis-and-sdks/web-console-api/0100-001-create-experiment//docs/apis-and-sdks/web-console-api/0100-002-update-experiment//docs/apis-and-sdks/web-console-api/0100-006-restart-experiment/Each one showed "This page crashed. n is not iterable".
@absmartly/api-mocks@1.0.8hasrequired: nullon theTemplateschema. The theme loops overrequiredwhen it mergesallOf, so any request body usingExperimentInputcrashed. The fix is upstream in absmartly/api-mocks#28, released as 1.0.10.Verification
yarn gen:apino longer printsr is not iterable(3 warnings before, 0 now).yarn buildsucceeds. All three pages render from the production build with no page errors, and thetemplate_permissionfields appear.🤖 Generated with Claude Code
Summary by CodeRabbit