Support Int128 and UInt128 in API binding, ApiExplorer, etc. #43119
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
area-web-frameworks
feature-minimal-actions
Controller-like actions for endpoint routing
Milestone
.NET 7 introduces the new
Int128
andUInt128
structs to represent 128-bit numbers. Attempting to use these new structs in parameters of or responses from minimal APIs or MVC APIs results in broken behavior though, as the type inference logic and serialization doesn't recognize these types.For example, the following minimal API ends up being described as accepting a string parameter and returning a complex type
Int128
with no members (see auto-generated swagger document further below):The text was updated successfully, but these errors were encountered: