Skip to content

TechNobre/PowerUtils.AspNetCore.ErrorHandler.ResponseTypes

Repository files navigation

PowerUtils.AspNetCore.ErrorHandler.ResponseTypes

Logo

Extensions to standardize ResponseType attributes with ProblemDetails

Tests Quality Gate Status Coverage

NuGet Nuget License: MIT

Support to

  • .NET 6.0
  • .NET 5.0

Dependencies

  • Microsoft.AspNetCore.Mvc.Core NuGet
  • PowerUtils.AspNetCore.ErrorHandler NuGet

How to use

Install NuGet package

This package is available through Nuget Packages: https://www.nuget.org/packages/PowerUtils.AspNetCore.ErrorHandler.ResponseTypes

Nuget

Install-Package PowerUtils.AspNetCore.ErrorHandler.ResponseTypes

.NET CLI

dotnet add package PowerUtils.AspNetCore.ErrorHandler.ResponseTypes

Attributes

  • Response400ProblemDetailsAttribute
  • Response401ProblemDetailsAttribute
  • Response403ProblemDetailsAttribute
  • Response404ProblemDetailsAttribute
  • Response409ProblemDetailsAttribute
  • Response415ProblemDetailsAttribute

Contribution

If you have any questions, comments, or suggestions, please open an issue or create a pull request