EBL 3.0: SD-2442: Add FeedbackElement object in Surrender response#603
EBL 3.0: SD-2442: Add FeedbackElement object in Surrender response#603
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.
Pull request overview
This PR enhances the Surrender response schema by adding a structured feedback mechanism to communicate processing issues and information back to API consumers.
Changes:
- Added
FeedbackElementobject with severity levels (ERROR, WARN, INFO) to enable detailed feedback on surrender request processing - Enhanced the
commentsfield description formatting for improved readability - Introduced JSONPath property references to pinpoint specific issues in the request payload
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| EBL_SUR_v3.0.3.yaml | Added feedbackElements array property to Surrender response schema and defined new FeedbackElement object with severity, message, and propertyPath fields |
| styleguide.json | Updated styleguide configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
User description
SD-2442: Add
FeedbackElementin Surrender responsesPR Type
Enhancement
Description
Add
FeedbackElementobject to Surrender response schemaEnable detailed feedback on surrender request processing
Support multiple severity levels (ERROR, WARN, INFO)
Include JSONPath property references for specific issues
Diagram Walkthrough
File Walkthrough
EBL_SUR_v3.0.3.yaml
Add FeedbackElement schema to Surrender responseebl/v3/surrender/EBL_SUR_v3.0.3.yaml
feedbackElementsarray property to Surrender response schemaFeedbackElementobject schema with severity, message, andpropertyPath properties
scalar
styleguide.json
Update styleguide configuration.stoplight/styleguide.json