additionalProperties: true
does not work on a model being flattened
#5173
Labels
Mgmt
This issue is related to a management-plane library.
This happens to both swagger and typespec input, but since typespec input we should not turn the client-flatten on, this theoretically only affects swagger input libraries.
If we have
additionalProperties: true
on a model, but it is marked asx-ms-client-flatten: true
on the other model, for example:In the generated code, the additionalProperties flag in
VirtualMachineProperties
is not honored at all.The text was updated successfully, but these errors were encountered: