| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Implement deserialization for spaceDelimited and pipeDelimited query parameter styles in both BindQueryParameterWithOptions and BindRawQueryParameter. For explode=true, these styles are serialized identically to form explode=true (each value is a separate key=value pair), so they share the same code path. For explode=false, the values are split on their style-specific delimiter (space or pipe) instead of comma. The BindRawQueryParameter implementation handles all space representations (%20, +, and literal space) for spaceDelimited. Fixes oapi-codegen#116 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ry params Export RequiredParameterError so generated server code can use errors.As to detect missing required parameters and produce framework-specific typed errors for application error handlers. Previously these were plain fmt.Errorf strings that couldn't be distinguished from format errors without string matching. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Would this be for the 1.4.0 milestone, no? (As it's a new feature, I'd expect a minor bump) |
Sorry, something went wrong.
|
Yes, it's for 1.4.0 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Make a concrete error type for missing required parameters.
Implement deserialization for spaceDelimited and pipeDelimited query parameter styles in both BindQueryParameterWithOptions and BindRawQueryParameter.
For explode=true, these styles are serialized identically to form explode=true (each value is a separate key=value pair), so they share the same code path. For explode=false, the values are split on their style-specific delimiter (space or pipe) instead of comma.
The BindRawQueryParameter implementation handles all space representations (%20, +, and literal space) for spaceDelimited.
Fixes #116