-
Notifications
You must be signed in to change notification settings - Fork 16
EBL 3.0: SD-1936: Update examples #581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
SD-1936: Update examples to be more specific and NOT autogenerated by e.g. SwaggerHub
PR Type
Enhancement, Documentation
Description
Add comprehensive request/response examples to PINT, Issuance, and Surrender API specs
Include realistic Transport Document example with full cargo and party details
Add error response examples for various HTTP status codes and scenarios
Provide rejection example for Issuance Response with unknown party scenario
Diagram Walkthrough
File Walkthrough
EBL_PINT_v3.0.0.yaml
Add request and error response examples to PINT APIpint/v3/EBL_PINT_v3.0.0.yaml
regularSTDExamplewith complete Transport Document request payloadincluding shipper, carrier, charges, and equipment details
/v3/envelopesendpoint with 500status code
/v3/envelopes/{envelopeReference}/additional-documents/{documentChecksum}endpoint
/v3/envelopes/{envelopeReference}/finish-transferendpoint/v3/receiver-validationendpointwith both 404 (unknown party) and 500 (internal error) scenarios
EBL_ISS_v3.0.3.yaml
Add request and response examples to Issuance APIebl/v3/issuance/EBL_ISS_v3.0.3.yaml
regularSTDExamplewith complete Issuance Request includingdocument details, party information, and carrier visualization
rejectedExampleshowing rejection response whenIssueToparty isunknown on receiving platform
/v3/ebl-issuance-requestsendpointwith 500 status code
/v3/ebl-issuance-responsesendpoint with 500 status code
EBL_SUR_v3.0.3.yaml
Add request and error response examples to Surrender APIebl/v3/surrender/EBL_SUR_v3.0.3.yaml
surrenderExamplewith complete Surrender Request includingendorsement chain with action history and party details
/v3/ebl-surrender-requestsendpoint with 500 status code
/v3/ebl-surrender-responsesendpoint with 500 status code
styleguide.json
Update styleguide configuration.stoplight/styleguide.json