fix(docs): preserve items response fields - #6587
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview
Reviewed by Cursor Bugbot for commit 9236a2d. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThe PR fixes documentation schema parsing so response properties named
Confidence Score: 5/5The PR appears safe to merge with no actionable defects identified. The parser now distinguishes response fields named
|
| Filename | Overview |
|---|---|
| scripts/generate-docs.ts | Preserves legitimate items response properties while restricting structural schema-keyword matching to the appropriate nesting depth. |
| scripts/generate-docs.test.ts | Adds focused regression tests covering nested, direct-constant, constant-property, and constant-defined items fields. |
| apps/docs/content/docs/en/integrations/stripe.mdx | Regenerates subscription response documentation with the previously omitted subscription-items object and descendants. |
| apps/docs/content/docs/en/integrations/gong.mdx | Restores omitted items fields and nested highlight-item details. |
| apps/docs/content/docs/en/integrations/google_forms.mdx | Restores the form response’s items collection and documented item variants. |
| apps/docs/content/docs/en/integrations/onepassword.mdx | Restores the numeric vault item-count response field. |
| apps/docs/content/docs/en/integrations/sap_concur.mdx | Restores allocation and budget collection items fields in generated documentation. |
| apps/docs/content/docs/en/integrations/sharepoint.mdx | Restores nested SharePoint list-item response documentation. |
Reviews (1): Last reviewed commit: "fix(docs): preserve items response field..." | Re-trigger Greptile
Summary
itemsfrom structural array item schemasType of Change
Testing
bunx vitest run scripts/generate-docs.test.tsbun scripts/generate-docs.tsbun run lintChecklist