OpenAPI 3.1.0 added support for the object type for spaceDelimited style values. This change is specific to Parameter Object. OpenAPI 3.0 also aligned with this in 3.0.4 release.
OpenAPI 3.0.x

OpenAPI 3.1.0

The goal of this issue is to add support for speceDelimited style into encodeObject OpenAPI 3.1.0 variant of the function.