Repository navigation
Commit b0338da
committed
fix(explorer): keep scalar query and header values on exploded parameters
A parameter declared explode: true whose value was not a JSON object was
routed into the exploded-object branch of setQueryParams, which enumerated
a non-object and replaced the typed value with an empty string in the sent
request and the code snippet; the header branch threw on a decoded null.
Fall through to the scalar handling, which serialises an exploded scalar
the same way as an unexploded one.1 parent 30d04a5 commit b0338da
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 80 | | |
| 81 | + | |
88 | 82 | | |
89 | 83 | | |
90 | 84 | | |
| |||
251 | 245 | | |
252 | 246 | | |
253 | 247 | | |
254 | | - | |
| 248 | + | |
255 | 249 | | |
256 | 250 | | |
257 | 251 | | |
| |||
0 commit comments