c.argument('secrets', type=validate_file_or_dict, help='Specifies set of certificates that should be installed '
'onto the role instances. Expected value: json-string/@json-file.', arg_group='Os Profile')
I find that if the property has nested arrays, then autorest will define it as a string. Users need to pass the JSON string to it. It is super hard for users to input JSON string in terminal because " should be escaped in order to pass the " character. For example,
Why do you need this feature? There is No Translations of Nested Arrays. JSON is hard to use.
Is your feature request related to a problem? Please describe.
A snippet of request body
Generated parameter definition for it
I find that if the property has nested arrays, then autorest will define it as a string. Users need to pass the JSON string to it. It is super hard for users to input JSON string in terminal because
"
should be escaped in order to pass the"
character. For example,What is the best practice for this kind of property when using autorest?
Describe the solution you'd like
It is an open question.
Describe alternatives you've considered
Additional context