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 collectionFormat #61

Open
pbwolf opened this issue Dec 24, 2018 · 0 comments
Open

Support collectionFormat #61

pbwolf opened this issue Dec 24, 2018 · 0 comments

Comments

@pbwolf
Copy link

pbwolf commented Dec 24, 2018

For a Swagger parameter specified like this

{"name":"apples",
"in":"query",
"type":"array",
"items":{"type": "string"},
"collectionFormat":"ssv"}

martian constructs an HTTP request that HttpClient logs like this:
GET igloo?apples=red&apples=green HTTP/1.1

but the ReST service expects apples=red%20green

collectionFormat is described at https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameter-object

oliyh added a commit that referenced this issue Jan 4, 2019
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