You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A library that provides OpenAPI helpers for Minimal API projects.
129
-
130
-
### Installation
131
-
132
-
The library is available on [NuGet](https://www.nuget.org/packages/MinimalHelpers.OpenApi). Search for *MinimalHelpers.OpenApi* in the **Package Manager GUI** or run the following command in the **.NET CLI**:
133
-
134
-
```shell
135
-
dotnet add package MinimalHelpers.OpenApi
136
-
```
137
-
138
-
### Usage
139
-
140
-
***Extension methods for RouteHandlerBuilder***
141
-
142
-
Often, endpoints have multiple 4xx return values, each producing a `ProblemDetails` response:
/// <param name="statusCodes">The list of status codes to be added as <see cref="ProblemDetails"/> responses.</param>
18
18
/// <returns>The <see cref="RouteHandlerBuilder"/> with the new status codes responses.</returns>
19
+
[Obsolete("This method will be removed in future versions. Use the ProducesDefaultProblem method that is available in the TinyHelpers.AspNetCoore library instead.")]
0 commit comments