You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update uri decoder for non encoded comma strings (#52)
### Motivation
Makes decoding of non-percent encoded strings containing commas more
permissive as per discussion in
[278](apple/swift-openapi-generator#278). This
is not strictly necessary to adhere to the Openapi spec, but encompasses
header values that are not percent encoded.
### Modifications
Update the simple unexploded decoder to return a single string of comma
separated values.
### Result
Simple, unexploded nodes containing commas should be decoded correctly.
e.g. `foo, bar` should be a single string, rather than an array.
### Test Plan
Add tests for non percent encoded comma separated strings and percent
encoded strings for additional coverage.
---------
Co-authored-by: bfrearson <>
Co-authored-by: Honza Dvorsky <[email protected]>
0 commit comments