Align EDI docs with the envelope-aware module and tool#551
Conversation
- Reference/EDI: add the module version, the header/envelope functions (interchangeFromEdiString, headers*, x12/edifact header peeks) to the Functions table, and a fail-safe interchange-parsing example. - Tools/EDI Tool: document the envelope-aware generated functions. - Develop/EDI: add a callout for the prebuilt EDIFACT D03A packages.
|
Warning Review limit reached
More reviews will be available in 48 minutes and 19 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses rolling per-developer review limits. Reviews become available again as older review attempts age out of the rolling limit window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughDocumentation updates across three EDI-related pages: ChangesEDI Documentation Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
Broken links, images & orphan pages
Links/images come from one crawl of the production build (baseUrl-aware). Orphans are docs not referenced by Summary
Broken links & imagesIntroduced by this PRNo new broken link(s)/image(s) introduced by this PR. ✅ Already on
|
There was a problem hiding this comment.
Pull request overview
Updates the EDI documentation to match the envelope-aware ballerina/edi API (v1.6.0) and the corresponding bal edi codegen outputs, including new header/interchange parsing workflows.
Changes:
- State the
ballerina/edimodule version and expand the EDI function reference to include envelope/header APIs. - Add a full-interchange parsing example that demonstrates fail-safe per-transaction body handling.
- Add guidance pointing users to prebuilt EDIFACT D03A packages as a zero-code path, and document the envelope-aware functions emitted by
bal edi codegen.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| en/docs/reference/data-formats/edi.md | Adds module version, a full interchange parsing example, and expands the functions table for envelope/header APIs. |
| en/docs/develop/transform/edi.md | Adds an info callout recommending prebuilt EDIFACT D03A packages and linking to the reference section. |
| en/docs/develop/tools/integration-tools/edi-tool.md | Documents additional envelope-aware functions and wrapper record types emitted by codegen. |
- Reference: move getSchema to the last row of the Functions table. - EDI Tool: generate codegen output into the default module (-o orders.bal) and mention the Ballerina workspace concept.
- Correct prebuilt package type name (EDI_INVOIC_Invoice_message) and add the missing ballerina/io import in the examples. - Fix ESL: EDI Schema Language, not Electronic Shelf Labeling. - Reorganize code-generation sections as EDIFACT -> X12 -> ESL/custom.
- Rename 'ESL or custom schema' section to 'custom schema'; reference ESL as a conversion path within it. - Add a 'Parsing the full interchange' example using interchangeFromEdiString (fail-safe bodies) and note headersFromEdiString for header-only routing.
- codegen reads <output-dir>/ORDERS.json from convertEdifactSchema. - 'interchange headers' -> 'envelope headers' (the listed segments span interchange, group, and message levels).
Updates the EDI documentation to reflect the envelope-aware
ballerina/ediAPI (v1.6.0) and the matchingbal edicodegen.Reference / EDI
interchangeFromEdiString,interchangeToEdiString,headersFromEdiString/headersFromEdiFile, and the schema-freex12Headers*/edifactHeaders*peeks.Tools / EDI Tool
codegenemits for X12/EDIFACT schemas (headersFromEdiString,interchangeFromEdiString,interchangeToEdiString) and the<Name>Interchangewrapper records.Develop / EDI Processing
Docs-only; no nav changes.
Summary by CodeRabbit
Release Notes