| 55854 | ) |
| 55855 | s.url = a + j |
| 55856 | } |
| 55857 | function query({ req: s, value: o, parameter: i }) { |
| 55858 | if (((s.query = s.query || {}), void 0 !== o && i.content)) { |
| 55859 | const a = serialize(o, Object.keys(i.content)[0]) |
| 55860 | if (a) s.query[i.name] = a |
| 55861 | else if (i.allowEmptyValue) { |
| 55862 | const o = i.name |
| 55863 | ;((s.query[o] = s.query[o] || {}), (s.query[o].allowEmptyValue = !0)) |
| 55864 | } |
| 55865 | } else if ((!1 === o && (o = 'false'), 0 === o && (o = '0'), o)) { |
| 55866 | const { style: a, explode: u, allowReserved: _ } = i |
| 55867 | s.query[i.name] = { |
| 55868 | value: o, |
| 55869 | serializationOption: { style: a, explode: u, allowReserved: _ }, |
| 55870 | } |
| 55871 | } else if (i.allowEmptyValue && void 0 !== o) { |
| 55872 | const o = i.name |
| 55873 | ;((s.query[o] = s.query[o] || {}), (s.query[o].allowEmptyValue = !0)) |
| 55874 | } |
| 55875 | } |
| 55876 | const Hx = ['accept', 'authorization', 'content-type'] |
| 55877 | function parameter_builders_header({ req: s, parameter: o, value: i }) { |