Skip to content

Add RFC 7807 problem details formatter and helper - #5

Merged
Skillnter merged 3 commits into
masterfrom
dev
Nov 14, 2026
Merged

Skillnter merged 3 commits into
masterfrom
dev

Conversation

@Skillnter

Copy link
Copy Markdown
Owner

Integrate standard RFC 7807 and RFC 9457 problem details formatting directly into the http-error-kit core library.

  • Export IRfcProblemDetails interface and rfcProblemDetailsFormatter
  • Add useRfcProblemDetails configuration helper on KitHttpErrorConfig
  • Map string details to detail and object errors to invalidParams
  • Maintain full test coverage across all branches and statements
  • Support standardized problem details formatting for HTTP APIs. Enable one-line global activation for consistent client error payloads across services.

Integrate standard RFC 7807 and RFC 9457 problem details formatting
directly into the http-error-kit core library.

- Export IRfcProblemDetails interface and rfcProblemDetailsFormatter
- Add useRfcProblemDetails configuration helper on KitHttpErrorConfig
- Map string details to detail and object errors to invalidParams
- Maintain full test coverage across all branches and statements
- Support standardized problem details formatting for HTTP APIs.
  Enable one-line global activation for consistent client error payloads across services.
@codacy-production

codacy-production Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Skillnter
Skillnter merged commit c011723 into master Nov 14, 2026
4 checks passed
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.

1 participant