forked from loafle/openapi-generator-original
update php samples
This commit is contained in:
parent
aea536027c
commit
4b493358a8
@ -268,6 +268,11 @@ class ObjectSerializer
|
|||||||
|
|
||||||
$value = $flattenArray($value, $paramName);
|
$value = $flattenArray($value, $paramName);
|
||||||
|
|
||||||
|
// https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values
|
||||||
|
if ($openApiType === 'array' && $style === 'deepObject' && $explode) {
|
||||||
|
return $value;
|
||||||
|
}
|
||||||
|
|
||||||
if ($openApiType === 'object' && ($style === 'deepObject' || $explode)) {
|
if ($openApiType === 'object' && ($style === 'deepObject' || $explode)) {
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user