./nugetz

#problem-details

25 packages tagged with “problem-details

VoluntasProgressus.APICore

RU: VoluntasProgressus.APICore предоставляет централизованную обработку исключений, HealthCheck через HealthController и формирование стандартизированных API-ответов. Добавлена поддержка DI-контейнера Autofac. Исправлены циклические зависимости при регистрации IExceptionMapper. Ошибки возвращаются в формате RFC 7807 Problem Details (application/problem+json), успешные ответы оборачиваются в ApiResponse T. Глобальный фильтр ResponseHandlingMiddleware гарантирует единый формат всех ответов контроллеров. Добавлен расширенный атрибут SkipResponseWrappingAttribute для гибкого исключения оборачивания по статус-кодам (например, "2xx", "3xx", конкретные коды 201, 303 и т.п.). EN: VoluntasProgressus.APICore provides centralized exception handling, HealthCheck via HealthController, and standardized API responses. Support for the Autofac DI container has been added. Circular dependencies when registering IExceptionMapper have been fixed. Errors are returned in RFC 7807 Problem Details format (application/problem+json), successful responses are wrapped in ApiResponse T. The ResponseHandlingMiddleware ensures a consistent format for all controller responses. Added extended SkipResponseWrappingAttribute for flexible exclusion by HTTP status codes (e.g., "2xx", "3xx", specific codes like 201, 303, etc.). DE: VoluntasProgressus.APICore bietet zentrale Ausnahmebehandlung, HealthCheck über HealthController und standardisierte API-Antworten. Unterstützung für den Autofac DI-Container wurde hinzugefügt. Zyklische Abhängigkeiten bei der Registrierung von IExceptionMapper wurden behoben. Fehler werden im RFC 7807 Problem Details Format zurückgegeben (application/problem+json), erfolgreiche Antworten werden in ApiResponse T verpackt. ResponseHandlingMiddleware sorgt für ein einheitliches Format aller Controller-Antworten. Erweiterter SkipResponseWrappingAttribute wurde hinzugefügt, um flexible Ausnahmen nach HTTP-Statuscodes zu ermöglichen (z.B. "2xx", "3xx", spezifische Codes wie 201, 303). CH: VoluntasProgressus.APICore 提供集中式异常处理、通过 HealthController 的 HealthCheck 和标准化 API 响应。 新增了对 Autofac DI 容器的支持,修复了注册 IExceptionMapper 时的循环依赖问题。 错误以 RFC 7807 Problem Details 格式返回 (application/problem+json),成功响应封装在 ApiResponse T 中。 ResponseHandlingMiddleware 确保所有控制器响应的统一格式。 新增扩展 SkipResponseWrappingAttribute,可按 HTTP 状态码灵活排除(例如 "2xx"、"3xx"、具体码如 201、303)。

v3.0.01.3K
exceptionmiddlewareapiresponseproblem-details