In case the user wants to use endpoints where they have to send complex data they need to send it as the JSON body.
Allowing to send string data and then manually decoding it is unnecessary and leads to suboptimal OpenAPI specifications.
Removing that also allows typing the parameter as array which increases safety over manually checking it since the method would never be called if the input data didn't match.
In case the user wants to use endpoints where they have to send complex data they need to send it as the JSON body. Allowing to send string data and then manually decoding it is unnecessary and leads to suboptimal OpenAPI specifications. Removing that also allows typing the parameter as
array
which increases safety over manually checking it since the method would never be called if the input data didn't match.