Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information