OpenAPI analyzers for Problem Details #39750
Labels
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
old-area-web-frameworks-do-not-use
*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Status: Resolved
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Hello, I enabled the OpenAPI analyzers for my web API and it reports undocumented status codes when I use
BadRequest()
.Now I want to use standardized Problem Details responses in my API. However, the analyzers don't show a warning for the same action if I use
ValidationProblem()
orProblem()
.Describe the solution you'd like
Add OpenAPI analyzers for Problem Details shorthand methods.
Additional context
No response
The text was updated successfully, but these errors were encountered: