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
{{ message }}
Repository navigation
Commit fa534ba
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix: change Explode field from bool to *bool for proper serialization (#132)
When Explode is bool with omitempty, false values are not serialized
to JSON/YAML output. This prevents users from explicitly setting
explode: false in OpenAPI specs.
Changing to *bool allows:
- nil: omit the field (use default behavior)
- &true: serialize as 'explode: true'
- &false: serialize as 'explode: false'
Affects: Parameter, Header, Encoding structs and their builders.
Co-authored-by: a.gorbunov <a.gorbunov@2gis.ru>
Co-authored-by: Sergey Vilgelm <523825+SVilgelm@users.noreply.github.com>
0 commit comments