Open
Description
An umbrella issue to track Swagger / OpenAPI work:
- As an HTTP API developer using Open API to enable integration, my APIs include an opinionated convention of ensuring operationId attributes are created for each Web API controller method #27591
- Enable OpenAPI analyzer by default in API apps
- Bugs / improvements:
- Media type application/problem+json lost in combination with ProducesAttribute
- ProducesResponseType(typeof(void), ...) causes ApiExplorer to indicate the return type is ProblemDetails
- Identify if any additional work is pending in ProblemDetails is not returned for 404NotFound and 500Exception
- Api.Analyzers not recognizing methods from a Base Class
- Create and include an analyzer that validates action method return types match the declared ActionResult
- API analyzers should support undeclared 200 status codes
[ ] Discriminated unions