Open brianchou121 opened 7 months ago
if you specify a type of array
you will need to specify the items
or the shape of the items in that array.
Also worth noting depending on what you are doing and how you want to use it you can specify multiple types at the same layer.
"type": ["array", "string"],
"items": {
"type": "string"
}
This is technically valid against the schema but how the cli but may result in varying success depending on the language plugins ability to handle different types.
we are looking into defining defaultValue as any type essentially. Is there a more "correct" way of doing this. Technically it could be an array of anything so it would kind of be "inifinitely" nested
also tried using definitions and references but seems like its not possible - any suggestions?
Hi team, one of our properties can be one of multiple types. We have defined it as the following:
we are unable to build successfully and it seems to be failing on rpdkGenerateSource in the writing docs generating step.