JsonTypeInfoExtensions.GetSchemaReferenceId throws ArgumentOutOfRangeException for nested generic types #59092
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
feature-openapi
Is there an existing issue for this?
Describe the bug
Hey together,
i have a constellation similar to the following:
When I try to access the generated
openapi.json
in the browser viahttp://<server>:<port>/openapi/v1.json
I get an ArgumentOutOfRangeException.The problem seems to be located in this part:
Expected Behavior
Do not throw an exception and return either
Baz
or even betterFooOfInt.BarOfString.Baz
Steps To Reproduce
No response
Exceptions (if any)
.NET Version
9.0.100
Anything else?
No response
The text was updated successfully, but these errors were encountered: