Support inferring rate-limited endpoints in OpenAPI
Open
area-minimal
feature-openapi
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
Starting in .NET 7, it is possible to enable rate-limiting on certain endpoints. When this is the case, the endpoints might return a response with a 503 status code.
We don't currently pass this information to any OpenAPI annotations, but we should probably document this when it is possible to infer.
Note: this is similar to the problem with the global `ProblemDetails` service (pun intended) and is related to https://github.com/dotnet/aspnetcore/issues/44192.
Contributor guide
Assessment
This issue has not been assessed yet.