issues
search
jhannes
/
openapi-generator-typescript-fetch-api
TypeScript client library using Fetch API and API interfaces
13
stars
6
forks
source link
support style and explode for array query parameters
#4
Closed
jhannes
closed
3 years ago
jhannes
commented
3 years ago
E.g.
style=form explode=true (default):
a: ['1', '2', 'c']
=>
a=1&a=2&a=3
style=form explode=false (or form=simple):
a: ['1', '2', 'c']
=>
a=1,2,3
style=space:
a: ['1', '2', 'c']
=>
a=1%202%203
style=spaceDelimited:
a: ['1', '2', 'c']
=>
a=1|2|3
E.g.
a: ['1', '2', 'c']
=>a=1&a=2&a=3
a: ['1', '2', 'c']
=>a=1,2,3
a: ['1', '2', 'c']
=>a=1%202%203
a: ['1', '2', 'c']
=>a=1|2|3