-
Notifications
You must be signed in to change notification settings - Fork 16
Prepare for next patch releases #577
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 |
||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds OpenAPI 3.0.3 specifications for upcoming patch releases across multiple DCSA APIs, preparing for version updates to Commercial Schedules (v1.0.2), Operational Vessel Schedules (v3.0.2), and eBL APIs (v3.0.3).
Key Changes:
- Introduction of Commercial Schedules API v1.0.2 with three main endpoints for point-to-point routing, port schedules, and vessel schedules
- Addition of Operational Vessel Schedules API v3.0.2 with enhanced filtering and location type support
- New eBL v3.0.3 specifications for both Endorsement Chain and Surrender APIs
Reviewed changes
Copilot reviewed 4 out of 7 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| cs/v1/CS_v1.0.2.yaml | Complete Commercial Schedules API specification with routing, port schedule, and vessel schedule endpoints |
| ovs/v3/OVS_v3.0.2.yaml | Operational Vessel Schedules API with service schedules endpoint and discriminator-based location types |
| ebl/v3/endorsement/EBL_END_v3.0.3.yaml | eBL Endorsement Chain API for retrieving endorsement history with comprehensive examples |
| ebl/v3/surrender/EBL_SUR_v3.0.3.yaml | eBL Surrender API for handling surrender requests and responses with detailed party schemas |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| property: UNLocationCode | ||
| value: NA | ||
| errorCodeText: invalidQuery | ||
| erorCodeMessage: UNLocationCode does not exist |
Copilot
AI
Nov 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'erorCodeMessage' to 'errorCodeMessage'.
| erorCodeMessage: UNLocationCode does not exist | |
| errorCodeMessage: UNLocationCode does not exist |
| description: | | ||
| A standard short description corresponding to the `errorCode`. | ||
| example: invalidData | ||
| erorCodeMessage: |
Copilot
AI
Nov 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'erorCodeMessage' to 'errorCodeMessage'.
| erorCodeMessage: | |
| errorCodeMessage: |
| - POST | ||
| - PUT | ||
| - DELETE | ||
| - OPTIONS |
Copilot
AI
Nov 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'OPTIONS' to 'OPTION' to match the enum pattern used in other error response schemas in this PR.
| - OPTIONS | |
| - OPTION |
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||||||||||
PR Type
Documentation
Description
Added OpenAPI 3.0.3 specifications for multiple DCSA API versions preparing for next patch releases
Commercial Schedules API v1.0.2: Complete specification with three main endpoints (
/v1/point-to-point-routes,/v1/port-schedules,/v1/vessel-schedules) and comprehensive schema definitions for routing and scheduling dataOperational Vessel Schedules API v3.0.2: New specification with
/v3/service-schedulesGET endpoint, advanced filtering parameters, and support for multiple location types using discriminator patterneBL Endorsement Chain API v3.0.3: New specification for retrieving endorsement chains with detailed schema definitions and examples for various endorsement scenarios
eBL Surrender API v3.0.3: New specification with POST endpoints for surrender requests and responses, including surrender request codes and reason codes
All specifications include comprehensive error handling with detailed error response schemas and appropriate HTTP status codes
Diagram Walkthrough
File Walkthrough
CS_v1.0.2.yaml
Commercial Schedules API v1.0.2 OpenAPI specificationcs/v1/CS_v1.0.2.yaml
API v1.0.2
/v1/point-to-point-routes,/v1/port-schedules, and/v1/vessel-schedulesand location data structures
status codes (200, 400, 500)
OVS_v3.0.2.yaml
Operational Vessel Schedules API v3.0.2 OpenAPI specificationovs/v3/OVS_v3.0.2.yaml
Schedules API v3.0.2
/v3/service-schedulesGET endpoint with comprehensivefiltering parameters
ServiceSchedule,VesselSchedule,TransportCall, and location types(
UNLocationLocation,FacilitySMDGLocation,AddressLocation)EBL_END_v3.0.3.yaml
DCSA eBL Endorsement Chain API v3.0.3 specificationebl/v3/endorsement/EBL_END_v3.0.3.yaml
API
transportDocumentReferencewith optional filtering bycarrierSCACCodeand
transportDocumentSubReferenceEndorsementChain,EndorsementChainLink, party types (ActorParty,RecipientParty), anderror responses
straight B/L, B/L with on-behalf-of parties, and multiple document
versions
EBL_SUR_v3.0.3.yaml
DCSA eBL Surrender API v3.0.3 specificationebl/v3/surrender/EBL_SUR_v3.0.3.yaml
(
/v3/ebl-surrender-requests) and surrender responses(
/v3/ebl-surrender-responses)SurrenderRequestDetails,SurrenderRequestAnswer, party types, and error handlingSREQfor delivery,AREQforamendment) and reason codes (
SWTP,COD,SWI)