Repository navigation
v0.4.0
-
labelparameters withexplode: falseuse,between array items, not.
(#31). RFC 6570 spells the unexploded form.3,4,5and reserves the repeated
dot forexplode: true; both the parser and the serializer used.in either
case, so a conforming client's.3,4,5deserialized to the single element
"3,4,5"and failed its own schema. Object forms were already correct. -
spaceDelimitedandpipeDelimitedparameters recognise the percent-encoded
delimiter (#32). The value was split on a literal' 'or'|'before
decoding, but a raw space cannot travel in a URI and|is outside the query
character set, so any PSR-7 URI implementation delivers%20/%7Cand the
whole value came back as one element. Both wire forms are now accepted, the
serializer emits%20forspaceDelimited, and it rejects a list item that
contains its own delimiter — the style has no escape for one. That limitation
holds in both directions: a separator and an encoded item character are the
same octets on the wire, socolor=blue%7Cblackis read as two values and
never as the single valueblue|black.Both bugs were symmetric between this package's parser and serializer, so the
round-trip property could not see them; the styles are now pinned by exact
wire fixtures taken from the OpenAPI style-examples table.