Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

sandilya91
Copy link
Contributor

@sandilya91 sandilya91 commented Aug 21, 2025

As part of https://accredible.atlassian.net/browse/DGR-2399

Update errors section, more info in this PR #116

* docs: update errors section to reflect current API error handling

- Simplify v1/v2 documentation to unified approach focusing on common patterns
- Document real bulk operation differences between API versions
- Update OpenAPI schemas to match current controller implementations
- V1 bulk: all-or-nothing with ActiveRecord error arrays
- V2 bulk: mixed results with structured errors and 207 Multi-Status

Fixes documentation accuracy and reduces developer confusion.

* Refactor
@sandilya91 sandilya91 self-assigned this Aug 21, 2025
@sandilya91 sandilya91 marked this pull request as ready for review August 21, 2025 07:37
@sandilya91 sandilya91 changed the title [DGR-2399] Update errors section (#116) Release 25.17.1 Aug 21, 2025
@sandilya91 sandilya91 changed the title Release 25.17.1 Release 25.17.1 (Update Errors section) Aug 21, 2025
Copy link
Contributor

@navneet-kumar-ghub navneet-kumar-ghub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!
(There are 3 errors flagged by the swagger hub editor in the openapi.json - but they seem to be out-of-scope for this PR)

@sandilya91 sandilya91 merged commit 80bc692 into master Aug 21, 2025
1 check passed
@sandilya91 sandilya91 deleted the release/v25.17.1 branch August 21, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants