cyclops-ui / cyclops

Developer Friendly Kubernetes 👁️
https://cyclops-ui.com
Apache License 2.0
2.5k stars 770 forks source link

support anyOf in json schema #687

Closed petar-cvit closed 1 week ago

petar-cvit commented 1 week ago

Add support for anyOf in JSON schema. Since there are multiple options for an anyOf, Cyclops looks for the one that has a type boolean because it's the easiest input form. If there are multiple boolean options, Cyclops takes the first one. If there are none, Cyclops takes the first definition from the anyOf