Azure / Azure/azure-functions-openapi-extension

Parameters set to the type of `List<int>` do not bind properly

Open
#541 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
388
Forks
202
PR merge metrics
No merged PRs in 30d

Description

**Describe the issue**
Parameters set to the type of `List` do not bind properly. I suspect that I'm missing something?

**Expected behavior**
I would expect the `id` parameter to map to an array without using the strategy demonstrated in the screenshots below.

**Screenshots**
![image](https://user-images.githubusercontent.com/3529902/213541699-51cc64b2-0752-4960-8731-59a1cdaeb122.png)
![image](https://user-images.githubusercontent.com/3529902/213541942-7ecd52bc-c991-4d5a-90d3-ee95753f7a2f.png)

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named in the issue. Reproduce the List parameter-binding case shown in the screenshots, then trace the Azure Functions/OpenAPI parameter-binding path; done means id binds to an array without the screenshot's workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, openapi
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.