Safia Abdalla

Results 518 comments of Safia Abdalla

> Yes, this is strange indeed 🤔 . I wonder if this might actually be an issue in the Public API analyzer given this is the first time we've added...

> What do you think about the below implementation? Would it cause confusion that ExecuteAsync doesn't actually return anything in case you initialized the class with an Exception, but that...

@onurmicoogullari Thanks! I'll send this in for API review now.

@david-acker I saw you posted a question in the original issue about moving `StartupAnalyzer`-related infrastructure to the analyzers that get shipped in the refpack. I'm in favor of incorproating a...

@mehdihadeli You should be able to do this by leveraging the `WithOpenApi` extension method: ```csharp endpoints.MapPost("/", CreateProducts) .WithOpenApi(operation => { operation.Responses["200"].Description = "Your description here"; return operation; }); ```

> @captainsafia Thanks, let me check, but it is better we have a separate method like `WithSummary` and `WithDescription` for this also You should be able to create these kinds...

> @captainsafia Hi, Is it possible we add status response schema type also in this extension (WithOpenApi) method instead of calling a separate method `.Produces(StatusCodes.Status401Unauthorized)`? > > I want something...

> You mean about Swashbuckle.AspNetCore is using this [Swashbuckle.AspNetCore.Annotations](https://github.com/domaindrivendev/Swashbuckle.AspNetCore#swashbuckleaspnetcoreannotations) package and this attribute [SwaggerResponseAttribute](https://github.com/domaindrivendev/Swashbuckle.AspNetCore#enrich-response-metadata)? Nope, Swashbuckle is using the [ProducesResponseTypeAttribute](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.producesresponsetypeattribute?view=aspnetcore-7.0) which is what the `Produces` extension methods referenced in the...

Bump: have macOS 13 agents been added to the pool?