Skip to content

v3.1.1: style:deepObject should default to explode:true #4816

@charjr

Description

@charjr

style:deepObject only has defined behaviour for explode:true:

deepObject | true | n/a | n/a | n/a | color[R]=100&color[G]=200&color[B]=150

This would be fine, but it defaults to explode:false.

I don't believe any style should default to undefined behaviour. I believe this style should default to explode:true, just as form does:

<a name="parameterExplode"></a>explode | `boolean` | When this is true, parameter values of type `array` or `object` generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters this property has no effect. When [`style`](#parameterStyle) is `form`, the default value is `true`. For all other styles, the default value is `false`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions