Retain populated parameters when executing request that includes array parameters
nneul opened this issue · comments
Nathan Neulinger commented
Nathan Neulinger commented
Warren Parad commented
What do you mean by "lost", do you mean "consumed"? As in, after execution the populated values are no longer present?
Interesting, that is definitely a bug, can you include a minimal spec that exhibits this problem so we can solve it right away?
Thanks!
Nathan Neulinger commented
Example suitable to demo:
openapi: 3.0.0
info:
description: Demo
paths:
/api/test:
get:
parameters:
- name: code
description: 'demonstrate multiple parameters'
schema:
type: array
items:
type: string
minItems: 1
in: query
style: form
explode: true
required: true
produces:
- application/json
Warren Parad commented
Thanks for the minimal repro, I've pushed out a new version which is currently building and should be available shortly which will fix this problem. Please do let us know if for any reason this isn't working as you would expect.
=> 1.0.571