What to do for oneOf
in json-chema-to-types-async-converter
?
#31
FreePhoenix888
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
JSONSchema
Description
labels
property can be either object or string. As I know there is no way to giveobject|string
type for link. If we "give" itObject
value - any json will be able to be stored there (string, number, array, object, and so on...). What do you think about it? What would you do in this situation?If there would be just object I would "give" it
Object
value and created links for every field.My idea:
Still create link for every object field. If there will be object - they are will be used, if there will be string - they are not will be used. Looks like no problem?
Beta Was this translation helpful? Give feedback.
All reactions