Skip to content
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

Support arrays in query/path/header #12

Open
ejball opened this issue May 28, 2018 · 1 comment
Open

Support arrays in query/path/header #12

ejball opened this issue May 28, 2018 · 1 comment

Comments

@ejball
Copy link
Contributor

ejball commented May 28, 2018

We should probably try to support some/all of what OpenAPI supports. But it's hard for me to get excited about adding that level of complexity to all code generators. Even "simple" CSV gets complicated when deciding how to encode a comma.

@ejball
Copy link
Contributor Author

ejball commented May 21, 2019

The syntax is supported by Facility, so we should support it if we can.

We will probably need to add "raw" alternatives to HttpMethodMapping:

public Func<TRequest, IReadOnlyDictionary<string, IReadOnlyList<string>>> GetRawUriParameters { get; set; }

We should write helper functions instead of generating all of the code inline.

We will need to maintain backward compatibility but we can ignore the non-raw if the raw is specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant