In this case, I am getting an error and it says it cannot find the "name" or "address" field in A
As you can see, A has "type": "object" inside of it and oneOf property also has "type": "object" in each property.
I think one of these should be removed from A
When i generate the json schema from this typescript, the json is
In this case, I am getting an error and it says it cannot find the "name" or "address" field in
A
As you can see,A
has"type": "object"
inside of it andoneOf
property also has"type": "object"
in each property. I think one of these should be removed fromA
Can you please check?