Swashbuckle.AspNetCore icon indicating copy to clipboard operation
Swashbuckle.AspNetCore copied to clipboard

Support merging schemas for OpenApiOperations sourced from metadata

Open captainsafia opened this issue 2 years ago • 1 comments

Related to https://github.com/dotnet/aspnetcore/issues/45265 and https://github.com/dotnet/aspnetcore/issues/45307

For scenarios where people provide an explicit schema definition in their WithOpenApi call, we should merge or favor that definition over the one generated by default.

Typical scenario is people wanting to fix incorrectly produced schema for types like Stream and Guid.

captainsafia avatar Dec 01 '22 20:12 captainsafia

Still having this problem on .NET 8.0.1

warappa avatar Jan 10 '24 08:01 warappa