-
Notifications
You must be signed in to change notification settings - Fork 199
"Index was outside the bounds of the array" OpenApiResponseWithBody List #380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
vrooijen did you find a solution to this? I am facing the same error. |
Yes, specify the type directly, as described on the last line. However this is not a solution for my question, more a kind of workaround |
This bug seems to occur not only with lists. I just encountered the same bug when the |
I'm running into this same issue with |
I have this issue with Lists<>. I don't see any movement here really, and it's quite the blocker given there is no workaround. |
Agree, would be nice to have a solid solution. |
Here is a working example https://github.com/AJMauger/sunstealer.azure.functions. Note Model1.cs this defines an Example Model, note OpenApiCustomUIOptions.cs this maps example to open API 3 doc schema. Note Function1.cs this binds the Example to the API. |
Facing similar exception while using System.Text.Json as the serialization/deserialization library. Is there any solution for this yet. |
This issue appears to be related: #588 |
Uh oh!
There was an error while loading. Please reload this page.
Microsoft.Azure.Webjobs.Extensions.OpenApi 1.2.0
.NET Core 3.1
I tried
but got
The response type can be as easy as the following, as long as it is a collection.
When specifying directly it works, however I want to type it.
The text was updated successfully, but these errors were encountered: