Useful extension classes and methods for AspNetCore are found here.
Extends the ProblemDetails class with an error code.
Properties:
Property | Description |
---|---|
ErrorCode | Gets the unique code for identifying the specific error within this API. |
Methods:
Method | Description |
---|---|
CreateException | Creates a ProblemDetailsWithErrorCodeException. |
Collection of ProblemDetailsWithErrorCode objects. The error codes are guaranteed to be unique within this collection.
Methods:
Method | Description |
---|---|
GetKeyForItem(ProblemDetailsWithErrorCode) |
Exception that contains a ProblemDetailsWithErrorCode object.
Properties:
Property | Description |
---|---|
ProblemDetailsWithErrorCode | Gets the ProblemDetailsWithErrorCode instance. |
Methods:
Method | Description |
---|---|
ClearSensitiveInfo | Clears data from the Title and Details fields in ProblemDetailsWithErrorCode |
Extension methods making it easy to configure OAUTH2 for SwaggerUIOptions and SwaggerGenOptions on AspNetCore.
Package | Status |
---|---|
Stratiteq.Extensions.AspNetCore | |
Stratiteq.Extensions.AspNetCore.Swagger |