We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, models that have List<List<string>> or Dictionary<string, List<string>> properties get generated incorrectly
List<List<string>>
Dictionary<string, List<string>>
For example, if i have a function like this
public class Foo { public List<List<string>> Items { get; set; } } public class TestFunction { [FunctionName("Test")] [OpenApiOperation(operationId: "Test")] [OpenApiResponseWithBody(HttpStatusCode.OK, "application/json", typeof(Foo))] public IActionResult GetTest( [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "test")] HttpRequest req) { return new OkResult(); } }
Then the Items property will become an string array, and not an array of arrays.
The same happens if i have a Dictionary<string, List<string>> . Then the property will become Dictionary<string, string>
Dictionary<string, string>
The text was updated successfully, but these errors were encountered:
@Assassinbeast Thanks for the issue! I can repro the issue on my end. Let me check.
Sorry, something went wrong.
@Assassinbeast It's been released to NuGet. Please have a look and let us know.
Amazing! Seems to be working. Thanks :-)
Successfully merging a pull request may close this issue.
Hi, models that have
List<List<string>>
orDictionary<string, List<string>>
properties get generated incorrectlyFor example, if i have a function like this
Then the Items property will become an string array, and not an array of arrays.
The same happens if i have a
Dictionary<string, List<string>>
.Then the property will become
Dictionary<string, string>
The text was updated successfully, but these errors were encountered: