fix: strip style prefix for label/matrix primitive parameters (#99) by mromaszewicz · Pull Request #100 · oapi-codegen/runtime

@mromaszewicz @claude

…odegen#99)

BindStyledParameterWithOptions passed the raw styled value directly to
BindStringToObject for primitive types, without first removing the style
prefix. This caused label (leading ".") and matrix (";param=") styles to
fail with parse errors for non-struct, non-slice destinations.

Route primitive values through splitStyledParameter — the same function
already used by the struct and slice paths — so the prefix is stripped
before binding.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

jamietanna